Workflow API Date vs Data API Date

I am using the Data API to get a type from the database. This type contains a Date. The returned format of the date is like this: “2020-01-12T18:45:04.258Z”.

When I am using the Workflow API and return the same type from the database, the returned data is in a different format, i.e. the format of the date is Unix time in millis, such as: “1578854704258”.

I was wondering if this is intentional.
I don’t really mind which format to use. However, not returning it in the same format seems to me a bit funny.


This topic was automatically closed after 14 days. New replies are no longer allowed.