Timeline for Get the difference between two dates, in the most convenient unit
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 20, 2017 at 13:08 | comment | added | Timo Ernst | If you combined this with trincot's answer (using a for loop) your code would become even shorter and I'd love to accept it as the right answer codereview.stackexchange.com/a/152683/128754 | |
Jan 15, 2017 at 8:21 | history | migrated | from stackoverflow.com (revisions) | ||
Jan 14, 2017 at 21:36 | comment | added | FabioCosta | Ok expanded the answer then. | |
Jan 14, 2017 at 21:27 | comment | added | David Archibald | This is kind of the gray zone. Yes, it's an answer, but I feel that it can be improved and you've been downvoted likely because it's not detailed enough. So if it can be improved, why not improve it? Up to you. | |
Jan 14, 2017 at 21:25 | comment | added | FabioCosta | Well it's a broad field of make the code more efficient, but from the start the first thing that catchs the eye is the Utc misuse when you could have getTime. Plus I put the link but there isn't really much to say about getTime | |
Jan 14, 2017 at 21:22 | history | answered | FabioCosta | CC BY-SA 3.0 |