Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Setting Timezones

Sathish September 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 Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events