I am creating several ISO dates in a Javascript program with the following command:
var isodate = new Date().toISOString()
which returns dates in a format "2014-05-15T16:55:56.730Z". I need to subtract 5 hours from each of these dates. The above date will then be formatted as"2014-05-15T11:55:56.730Z"
I know this is hacked, but I really appreciate the quick solution.
source
share