Star79
asked on
Converting a survey123 date in Javascript
I am using Survey123 which is an arcgis product for storing the surveys and then using API to retrieve the values from esri portal into oracle database. So in short i get the dates in the following format.
All i know is the following
Date :
7/16/2018 12:00 AM is equivalent to 1531713600000
7/17/2018 12:00 AM is equivalent to 1531800000000
7/18/2018 12:00 AM is equivalent to 1531800000000
Now i need a date function in javascript which can convert the date in this format i.e. 1531713600000, 1531800000000, 1531800000000 into this format 7/16/2018 12:00 AM, 7/17/2018 12:00 AM and 7/18/2018 12:00 AM.
Can you please help it is kind of urgent. Your help is highly appreciated.
All i know is the following
Date :
7/16/2018 12:00 AM is equivalent to 1531713600000
7/17/2018 12:00 AM is equivalent to 1531800000000
7/18/2018 12:00 AM is equivalent to 1531800000000
Now i need a date function in javascript which can convert the date in this format i.e. 1531713600000, 1531800000000, 1531800000000 into this format 7/16/2018 12:00 AM, 7/17/2018 12:00 AM and 7/18/2018 12:00 AM.
Can you please help it is kind of urgent. Your help is highly appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER