Timeline for Javascript to convert UTC to local time
Current License: CC BY-SA 3.0
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 7, 2024 at 4:37 | answer | added | Praveen Kumar | timeline score: 0 | |
| Sep 23, 2021 at 16:10 | answer | added | Michael Goldshmidt | timeline score: 1 | |
| Feb 21, 2021 at 4:40 | answer | added | w0lf | timeline score: 0 | |
| Nov 10, 2020 at 4:20 | answer | added | user13942299 | timeline score: 5 | |
| Oct 21, 2020 at 14:18 | comment | added | Fattie | Just for anyone googling here. It's worth remembering that in MYSQL it's incredibly easy to absolutely perfectly convert to any time zone (and that includes perfectly caring for daylight savings times). Since almost all data comes from mysql on the server, it's worth bearing this in mind. | |
| Feb 9, 2019 at 13:49 | answer | added | Penny Liu | timeline score: 1 | |
| Apr 4, 2018 at 6:21 | history | edited | Code Guru | CC BY-SA 3.0 |
improved formatting
|
| Dec 20, 2017 at 16:19 | comment | added | modbender | You could split it into array using spaces or the symbols. Suppose you do .split(" ") and array with with date and time and "utc" will be formed. then split it again like this .split("-") and split the time like this .split(":") and so on. | |
| Aug 21, 2016 at 7:12 | answer | added | Khaled Al-Ansari | timeline score: 1 | |
| Jan 8, 2015 at 8:30 | answer | added | user3856049 | timeline score: -8 | |
| Aug 2, 2013 at 11:12 | answer | added | user2645663 | timeline score: 2 | |
| Nov 29, 2012 at 9:36 | history | edited | lannyboy | CC BY-SA 3.0 |
added 176 characters in body
|
| Nov 29, 2012 at 9:30 | vote | accept | lannyboy | ||
| Nov 29, 2012 at 9:18 | answer | added | Surabhi | timeline score: 42 | |
| Nov 29, 2012 at 9:06 | answer | added | Murali N | timeline score: 0 | |
| Nov 29, 2012 at 9:06 | answer | added | ajtrichards | timeline score: 56 | |
| Nov 29, 2012 at 9:05 | comment | added | Esailija |
new Date("2012-11-29 17:00:34 UTC") will be in the local time of the client who is using the page
|
|
| Nov 29, 2012 at 9:03 | history | asked | lannyboy | CC BY-SA 3.0 |