Jump to content

Recommended Posts

Hi,

In answer of ApiTradeHistoryDTO the value
ExecutedDateTimeUtc is a string, format wcf-date.

How can I calculate from current time this time wcf-date ?

And from wcf-date back to readable time ?

It seems to be something different, not a Unix Timestamp.

Because wcf-date is like: 1591220609317
And Unix time format is like: 1591308000 a shorter number

THX !

Share this post


Link to post

Hello,

We are using the Unix timestamp in milliseconds, rather than in seconds. That is why there is a factor of 1000 in the number. 

Kind Regards, PM

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×