Setting Timezones

Sathish I'm New Here Sep 27, 2017

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 Join to comment
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot