Epoch timestamp to NewYork DateTime
Status: Closed · Asked by Chintan on · 0 views
Hi how I can use the Date/time formatter to get NewYork timzone value from an epoch based timestamp.
ie: 1629567390 should return 8/21/2021 1:36:30 PM
Tried the GMT to NY converter but doesn't work accurately. Any suggestion? Thanks.
Attachments

Hi how I can use the Date/time formatter to get NewYork timzone value from an epoch based timestamp.ie: 1629567390 should return 8/21/2021 1:36:30 PM
Tried the GMT to NY converter but doesn't work accurately. Any suggestion Thanks.
What is the timezone of 1629567390
Are you sure it is in Etc/GMT
That is correct its in GMT.
@Pabbly I am also always getting Indian time based output, no matter what timezone I select in to and from timezone fields. It should be actually same as @Chintan showed in above screenshot. Please take a look into this.


That is correct its in GMT.
@Chintan Try this, it worked for me,
Thanks Fagun. That seems to be the way to get it converted properly. Its kind of mysterious though, picking afrika as the base and then Asia/kolkata in the next round.
Thank you for your help.
