javascript conversion string to UTC date
Posted
by Arun
on Stack Overflow
See other posts from Stack Overflow
or by Arun
Published on 2010-04-29T05:18:17Z
Indexed on
2010/04/29
5:27 UTC
Read the original article
Hit count: 376
JavaScript
|utc
I'm converting string to timestamp by using
var timestamp = new Date(month+"/"+day+"/"+year).getTime()/ 1000;
My question is how to set it as UTC timezone before converting to timestamp ?
© Stack Overflow or respective owner