Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Convert time to UTC time
12-09-2011, 04:14 PM #1
- Join Date
- Dec 2011
- Thanked 0 Times in 0 Posts
Convert time to UTC time
Mon Dec 12 00:00:00 UTC+0430 2011
I need to convert it to a date without the offset (the +0430).
I actually changed my computer's timezone to generate this offset - we have uses placing orders on our site who don't use UTC and it's throwing our orders out as they need to select a delivery date but it's passing the date with the offset.
How do I convert a date to UTC time?
12-09-2011, 04:43 PM #2
There are multiple methods to convert a date into UTC representation.
See the Date object methods which have "UTC" in their names.
I am still learning English