Post
Topic
Board Development & Technical Discussion
Re: time field on a transaction using javascript
by
eb3full
on 24/05/2014, 01:20:33 UTC
Is objectTransaction.time a unix timestamp? The Date constructor requires timestamps in milliseconds, so you need to do:

Code:
new Date(objectTransaction.time * 1000).toUTCString()