[MarkLogic Dev General] return current dateTime in UTC format

mcundiff1 at comcast.net mcundiff1 at comcast.net
Sat May 11 07:52:17 PDT 2013


The current-dateTime() function returns the following: 

2013-05-11T10:38:45.333548-04:00 

I need to have it expressed in UTC (Coordinated Universal Time), with a special UTC designator ("Z") like: 

1994-11-05T13:15:30Z 

How is that done? With format-dateTime()? 

Thanks, 
Morgan 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20130511/19c16e50/attachment.html 


More information about the General mailing list