How to format date/time in a specific timezone with the JavaScript date-fns library -


is there way format/output date in specified timezone date-fns library? can format date enough:

format(   new date(),   'mm/dd/yyyy' ) 

and can specify locale (from docs):

var eolocale = require('date-fns/locale/eo') var result = format(   new date(2014, 6, 2),   'do [de] mmmm yyyy',   {locale: eolocale} ) 

how can specify timezone?


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -