cancel
Showing results for 
Search instead for 
Did you mean: 

Get time Zone based on Country code

Former Member
0 Kudos

Hi All,

I am looking for getting the time and date of a particular country based on country code in XI. For ex. if IN comes in payload then get IST (Date and time). Can we do that in UDF?

Thanks & Regards,

Venu V

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

> I am looking for getting the time and date of a particular country based on country code in XI.

How should that work? Have you thought about Russia? USA?

Check java class Calendar and TimeZone:

http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html

http://java.sun.com/j2se/1.5.0/docs/api/java/util/TimeZone.html

Answers (1)

Answers (1)

former_member181985
Active Contributor
0 Kudos

with JAVA standard API it should be possible. Search google for snippets.