Setting Timezones

Hi I want to set CET time in a interface xml file which I generate in my current gel script, the current code in which timestamp must be is added is below .


<gel:script xmlns:core="jelly:core" xmlns:email="jelly:email" xmlns:file="jelly:com.niku.union.gel.FileTagLibrary"
  xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary" xmlns:soap="jelly:com.niku.union.gel.SOAPTagLibrary"
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sql="jelly:sql" xmlns:xog="http://www.niku.com/xog"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:util="jelly:util">
!--Parameters passed here--
 <core:set var="TS">
  <gel:formatDate format="'D'ddMMyy.'T'hhmmss"/>
 </core:set>
 <core:set var="todayDate" >
  <gel:formatDate format="ddMMyy"/>
 </core:set>
 <core:set var="logPath" value="/fs0/clarity1/share/Clarity/NE/toCmp/log/BI_LOG_MESSAGES.${todayDate}.log"/>
 <core:set var="errorLogPath" value="/fs0/clarity1/share/Clarity/NE/toCmp/log/BI_LOG_ERROR.${todayDate}.log"/>
 <core:file append="true" trim="false" omitXmlDeclaration="true"  name="${logPath}">

My requirement is the file generated here must have the CET time.

Thank you in advance.

Regards

 

 

0 comments

Comment

Log in or Sign up to comment
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

100 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you