Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Automatic TimeZone Conversion for Summer and Winter Times

edited May 30, 2019 8:01AM in Integration 6 comments

Content

Hi All,

I have a requirement to convert UTC Timezone to EET Timezone. The time difference in Summer would be 3 hours where as the difference in winter is 2 hours. Could you kindly confirm how to add the correct time difference while calculating the EET Timezone.

I am using the syntax below for adding the relevant time duration and would like know how to add the correct time difference for summer and winter.

string(fn:adjust-dateTime-to-timezone (xsd:dateTime(/nssrcmpr:schedule/nssrcmpr:startTime), 
xsd:dayTimeDuration('PT3H00M')))

Thanks,

Nagesh.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!