Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
talendstar
Creator
Creator

TalendDate.getCurrentDate() change timezone

I am using TalendDate.getCurrentDate() in tmap. However it's outputing what looks like GMT or UTC time. Is it possible to convert timezone to US Eastern TIme?

thanks

Labels (2)
3 Replies
Anonymous
Not applicable

Hi

Can you show an example of US Eastern time? If EST is 4 hours behind UTC time, you can call TalendDate.addDate(Date date, int nb, String dateType) function to convert the UTC time to EST time.

 

Regards

Shong

talendstar
Creator
Creator
Author

Currently EST is 4 hours behind. However it can also be 5 hours behind.

 

EST (Eastern Standard Time) is NEVER the same as UTC-4. That is by definition. The definition of EST is UTC-5. It is always UTC-5.

During Daylight Saving Time (DST, aka “Summer Time”) the majority of the places that use EST will transfer to EDT time (Eastern Daylight Time). By definition EDT is UTC-4; and again, it always will be.

So no, EST in not only not “always 4 hours behind UTC” but it is never 4 hours behind UTC. On the other hand, EDT is always 4 hours behind UTC. Those are simply the definitions of the time zones.

Anonymous
Not applicable

Hi

Can you take a look at this topic, it might be helpful for you.

 

Regards

Shong