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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

156 views 1 3
Join discussion

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