1.0.1 • Published 9 years ago
datetimezone v1.0.1
#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() );
1.0.1
9 years ago