You need to sign in to do that
Don't have an account?
Aruna
LastmodifiedDate is displaying in UK date and time on vf page
Hello,
on vf page When I am displaying user full name and LastModifiedDate field. The LastmodifiedDate filed is displaying UK date and time.
the above date/ timr should be 2017-08-11 7:57:44
I did used LastModifiedDate .format('YYYY-MM-DD hh:mm:ss','EST')
can anyone please help how can display lastmodifieddate from UK time zone to USA time zone
Thank you,
Aruna.
on vf page When I am displaying user full name and LastModifiedDate field. The LastmodifiedDate filed is displaying UK date and time.
the above date/ timr should be 2017-08-11 7:57:44
I did used LastModifiedDate .format('YYYY-MM-DD hh:mm:ss','EST')
can anyone please help how can display lastmodifieddate from UK time zone to USA time zone
Thank you,
Aruna.
CreatedDate and LastModifedDate are stored in GMT,
So you'll need to amend your formula +/- GMT accroringly.
Your amended formula would be something like this:
CreatedDate - ( NN_Hours * 0.04167)