Skip to main content
2 of 2
added 128 characters in body; added 2 characters in body

Yes. You can either convert the data to a uint64_t as you have showed above, or you can use the time_point types:

time_point
time_point_sec
block_timestamp_type

I believe of the above, time_point_sec is likely most common. time_point_sec is a lower resolution timestamp accurate to seconds.

time_point_sec format:

yyyy-MM-dd T HH:mm:ssz

time_point format:

yyyy-MM-dd T HH:mm:ss.SSSSSSz

List of Available EOS Datatypes