convert Javascript timestamp into UTC format -


this question has answer here:

for example if receive timestamp in javascript:

1433454951000

how create function convert timestamp utc like:

2015/6/4 gmt+7

var d1 = new date("unix time stamp here"); d1.toutcstring() 

originally asked here: how utc timestamp in javascript?


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -