datetime/today() populates tomorrow date at some time of day

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • deepsinghal29@gmail.com
    replied
    thanks will try that.

    Leave a comment:


  • yuri
    replied
    The function returns UTC today. Maybe we need to change it to honor a time-zone but it would be in a minor release I think.

    As a workaround you can use datetime\now(), then convert to a timezone, then split the date part.

    Leave a comment:


  • datetime/today() populates tomorrow date at some time of day

    We have a date field and is populated via before save script to datetime/today(). At around 10:43 pm EST (or near time and after), when the script is triggered, the date field is updated to TOMORROW instead of TODAY. The modified date/time correctly shows as Today10:43 pm. The user and the system time zone is set to EST(New York time zone).
Working...