today() always returns day in GMT

Why does today() function always returns day in GMT instead of day in the current user time zone set in profile. To overcome this we had to build a rule to return date in user time zone. Is this expected behaviour of today() function because it is no where mentioned in documentation that function always returns date in GMT

  Discussion posts and replies are publicly visible

Parents Reply
  • as far as I know, now() actually returns a UTC timecode which is just translated into the user's local time when cast as text by Appian's rendering engines.  But the internal value returned by now() would be the same if run at the same (GMT) time by two users in different timezones.  So in that sense it works similarly to today().  I agree it's all pretty confusing, though that's more the fault of having so many different timezones with so many exceptions and caveats, than the fault of Appian.

Children