You need to sign in to do that
Don't have an account?
p1 force developer
Current Datetime value in local time zone.
how to get the current datetime value in local time zone.
I tried system.now() but it returns the value in GMT
Thanks
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
how to get the current datetime value in local time zone.
I tried system.now() but it returns the value in GMT
Thanks
The issue has been discussed before. Take a lool at the following discussion for a solution to this problem -
http://boards.developerforce.com/t5/Apex-Code-Development/Is-there-any-way-to-get-current-date-and-time-as-per-the-logged/m-p/89746