Epoch timestamp to NewYork DateTime

Chintan

Member
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

  • 2021-08-21_13h19_54.png
    2021-08-21_13h19_54.png
    39.4 KB · Views: 123

Fagun Shah

Well-known member
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?
 

Fagun Shah

Well-known member
@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.

1629596886813.png


1629596948209.png
 

Chintan

Member
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.
 
Top