Time Zone issue

Hi,

I have a scenario where my Database is in GMT and I am trying to convert it to EST time by using GMT function  gmt(property(local!data,"XXX",{}),"EDT") its working fine during night time but when this function is executed during day time its giving current date-1.

Any solution for this would be really appreciated.

  Discussion posts and replies are publicly visible

Parents Reply
  • What the initial reply here was indicating is that, your data is in GMT in the database, you are retrieving it into local!data at which time Appian is automatically applying the EDT offset.  When you then wrap with gmt(), you are adding an additional EST offset / doubling it, pushing it 4 hours into the next day.

    To troubleshoot, review a specific time in the DB, then on your interface review the value of property(local!data,"XXX",{})

Children