2 Responses

  1. T
    T January 31, 2012 at 11:53 pm | | Reply

    Don’t use this, buggy.
    2012-02-01 01:40:21 (in JS Date) converted to 2012-01-31 01:40:21

  2. Philippe Mathieu
    Philippe Mathieu April 3, 2012 at 4:49 pm | | Reply

    Tried to use it and was getting the problem (before getting to the comment section).

    getHours should be getUTCHours, as the other calls. Or no UTC version should be called.

Leave a Reply


*