Link to home
Start Free TrialLog in
Avatar of Star79
Star79Flag for United States of America

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.
ASKER CERTIFIED SOLUTION
Avatar of ste5an
ste5an
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Star79

ASKER

The solution was  spot on thanks.