On Fri, 03 May 2013 10:06:53 -0700, Daniel S. Smith (ICS)  
<[email protected]> wrote:

> My concern is that fn:fomat-dateTime formatting is different between  
> versions of MarkLogic.
>
> fn:format-dateTime(fn:current-dateTime(), "[FNn,*-3], [D1,2] [MNn,*-3]  
> [Y] [H01]:[m01]:[s01] [Z]")
>
> That code returns different values for ML5 and ML6. Which one is correct?

[Z] means to return the timezone as a name, so GMT-06:00 is right.

[z] means to return the timezone as an offset from GMT, so
then you get GMT-06 which I think is what you want.

//Mary

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to