Custom Timestamp for entries

Hi all,
We have a form for client submission in 2 timezones (Perth, Melbourne). The UTC on the website is for Melbourne, so the Perth entries have skewed entry times. Is it possible to amend the timestamp for a user selecting the State in a dropdown? e.g. What State are you? WA (+2hrs)
Any help appreciated.

  • Slick

Hi Slick. You could use the GFAPI::update_entry_property function to change the timestamp on the entry, after the form is submitted.

This is when you would do it:

And this is the function you will call to update the entry property (the property name is date_created and it’s stored in the database in UTC.)

You will have to use some PHP to get this working the way you want. If you have any other questions, please let us know.