You need to sign in to do that
Don't have an account?
tulasi ram 1
get datetime based on time zone
how can we know or display datetime based on timezone. I have a time zone id of timezone-x, then how can i display datetime using that timezone Id. Pls help me on this.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_timezone.htm
tz.getOffset(DateTime.newInstance(2012,10,23,12,0,0)) in this line 2012,10,23,12,0,0 what is this time. Why they are using this particular time, Can i set it for current time.