Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
7 subscribers
Views
2684 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
This question is around daylight savings time and the date time functions. We h
lesliem
over 11 years ago
This question is around daylight savings time and the date time functions. We have our default Primary Time Zone set to UTC-07:00 Mountain Time, but when we use the now() function it gives us the GMT time instead of our local time. And, since daylight savings time it is giving us 6 hours difference instead of 7 hours difference.
Why aren't the functions using our default time zone? Is there a standard wrapper function for getting the functions to show our local timezone?...
OriginalPostID-103400
OriginalPostID-103400
Discussion posts and replies are publicly visible
0
Tim
Certified Lead Developer
over 11 years ago
Have a look at the local() function. local(now()) should yield your required result.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
lesliem
over 11 years ago
Thanks TIm, that does work, but why do I have to use that function when the now() should use the Primary Time Zone in the application?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jason Ruvinsky
Certified Lead Developer
over 11 years ago
For an explanation of how timezones and datetime functions are handled in Appian, check out this page:
forum.appian.com/.../Date_and_Time_Functions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel