Update date.js

when passing a long value in milliseconds, re-create the date object, instead of throwing an error to suit our needs