What would be the most appropriate script formula to obtain a timestamp measured in seconds from getDate()?
I want to measure a time interval to the nearest second and don't want to be concerned with hour/minute/day boundaries. So seconds since some arbitary fixed date/time in the past would work.
Seconds bewteen timestamps?
Moderator: Martin
Re: Seconds bewteen timestamps?
All built-in dates in Automagic are just the number of milliseconds since 1970. getDate() also returns the time in milliseconds since 1970, so you could use it and divide by 1000 if you don't need the millisecond precision.
Re: Seconds bewteen timestamps?
Ah. Very simple, thanks 
