Greetings!
In the screenshot I only see string and datetime. If you are referring to the number returned from SDM calls, that is the number of seconds since Jan1, 1970 UTC. Just add your number to that date to get the timestamp.
For the string, I'd recommend using JavaScript
Date.Parse to convert to a date for comparisons.
Also remember to make sure all your time zones are the same.
Original Message:
Sent: 09-11-2019 02:31 PM
From: Douglas Molina
Subject: Compare dates to get the oldest
Hi all
I'm trying to compare the ScheduledStartTime with other date inserted in the description of the request..... i put this date in a varible but in this format (11/09/2019) (dd/MM/yyyy) but the format of this variable are Integer.
I need convert this variable from integer to Date format first and after compare these two dates ok?
Any suggestions
Thanks and regards from Guatemala!!