1.0.1 • Published 9 years ago

datetimezone v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

#datetimezone

Pass in an offset in minutes and this module will return a function which you can call to get a Date which is the current Date/Time in that timezone.

Example

var datetimezone = require( 'datetimezone' ),
    gmt = datetimezone( 0 ),
    eastern = datetimezone( 300 );

console.log( gmt() );
console.log( eastern() );