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
You can use something like this to get date of user's timezone
todate( now() )
Hi Kunal,
Thanks for the response but my question was why does today() return date in GMT. I was able to get user date in respective to Time Zone with additional code anyways