Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment timezone get offset from iana timezone

import moment from 'moment-timezone'

moment().tz(timezoneName).utcOffset()
 
PREVIOUS NEXT
Tagged: #moment #timezone #offset #iana #timezone
ADD COMMENT
Topic
Name
5+5 =