asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Preston Carman <prest...@apache.org>
Subject Datetime to Unix Timestamp
Date Sun, 05 Jun 2016 22:03:58 GMT
Is there a way to get the Unix timestamp of a datetime value? The data
is stored in this way. We have several functions to take a UNIX
timestamp and create an AsterixDB datetime value, but do we have the
other way around?

Possible functions
UNIX_TIME_FROM_DATETIME_IN_MS
UNIX_TIME_FROM_DATETIME_IN_SECS

Thoughts on adding these functions?

Just wanted to check to see if I was missing the way method to get a
Unix timestamp or it was actually missing.

Thanks
Preston

Mime
View raw message