Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment timezone set clock in another timezone

moment.tz(
  new Date().toJSON().split('T')[0] + ' 5:00 PM', 
  'YYYY-MM-DD h:mm A', 
  'America/New_York'
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #moment #timezone #set #clock #timezone
ADD COMMENT
Topic
Name
9+6 =