Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.

Help how to use UTCNOW() and USERTZOFFSET()

Hi

i'm new in developing appsheets, i needed a way to make the timestamp un-manipulatable, some user change the devices time and date to change the timestamp of the entry. i wanted to use UTCNOW() and USERTZOFFSET() but dont know how to use it.

1 2 290
2 REPLIES 2

Use now() instead in an initial value column of whatever row your storing timestamps.

Both the UTCNOW() and the USERTZOFFSET() functions reference the user device's time zone setting. See lots of discussion elsewhere about this challenge (e.g., Re: Prevent timestamp manipulation? - Google Cloud Community). I don't know that there's a reliable solution other than contriving a way to capture a timestamp processed in the context of the AppSheet server , which would be at the time of data sync, rather than the context of the user's device.

Top Labels in this Space