Get current date in UTC format in the Data Mapper

Use the text below in the textual rule for a node in data mapper:

 Case1: Get simple Current time

 Current-date( concat('yyyy-MM-dd HH:mm:ss.S ',$apos,'UTC',$apos))

 

 Case2: Get Current time including time character 'T' between date and hour 

java:MapperUtilityClass.getCurrentDate("YYYY-MM-dd'T'HH:mm:ss XXX" ,'UTC' )

Have more questions? Submit a request

0 Comments

Article is closed for comments.