Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends,
Is there any function to convert date& time value to epoch format ?
below is the sample
"Wednesday, July 26, 2017 6:38:00 AM" convert to "1501051080" (epoch)
try this, make sure that DateField is in number format
=Floor((DateField-MakeDate(1970,1,1))*86400)
I am hearing first time this? What does this 1501051080 indicates? I mean to say any minutes / Seconds ??
try this, make sure that DateField is in number format
=Floor((DateField-MakeDate(1970,1,1))*86400)
it is in milliseconds
Or if it is time(Date field) do multiply 86400000
Thanks Kushal, it is working.
Using:
LET vTodayUnix = Floor(((Today()-1)-MakeDate(1970,1,1))*86400);
works perfectly fine, Thank you !