I am assuming that , If I run this query on
> (new Date()).getTime()
1443104144268
on Node console or JS console then I will get this timeStamp. As per my understanding, irrespective of Location of console or timezone, this timestamp is always same. If at one particular instance, everybody in the world run this statement, then everybody will get same timestamp.
In my project, I need to convert this timeStamp (1443104144268) to YYYY-MM-DD (2015-09-24) format.
But I do not want to use any existing Date/Time library of System library.
Do anybody know how to convert this timestamp to YYYY-MM-DD (2015-09-24) format without using Date function in JavaScript. ?