ArchiveUser
8 years agoQrew Captain
Timestamp stored via API being returned as UTC in notification email
I have a notification that triggers when a timestamp field is updated via an API EditRecord call. The timestamp is generated by JavaScript and is stored in QB in UTC time. This isn't a problem when I retrieve that timestamp and then adjust it back to local time within JavaScript. The problem I'm faced with now is that the timestamp displayed in the notification (and in forms as well) is still UTC time. If I were to choose a date/time value for that field through the UI, it still seems to store the value in the database as UTC but will adjust itself to the local time appropriately when viewed on a form. Ultimately, my question is whether there's a way through a formula field that I can adjust the timestamp stored through the API to the user's time zone so that I can use that field in a notification.
Thanks in advance!
Thanks in advance!