question

jburt97 avatar image
jburt97 asked Jeffrey Blattman answered

what type of time does Clover use

I'm trying to convert the modified time to a human readable value, so I need to know the date/time base of the field.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered

Times as returned through our APIs are milliseconds since 1970, but only with second accuracy. If you are using Java, you can feed it as a long value into a Date object and then into DateFormat or SimpleDateFormat.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community