The date constructor expects the date to be in UTC format.  Previously, the local date format was being used causing the time to be offset depending on the time zone.

Signed-off-by: Bryan <mattheyan@gmail.com>