Re: [LC] 7.10.6 The local-date() Function and 7.10.7 The local-dateTime() Function (PR#69)

> Steven,
>
> We will add examples to show that now() returns Z time only

Just for the record, I think this is a bad idea. I understand (now) that  
the current text for now() is ambiguous, but I believe the wrong  
interpretation had been chosen to solve that ambiguity. Either way some  
implementations will have to change, so I think changes should be chosen  
on what is best for authors, and I believe that most authors will expect  
now() to return the local time (not UTC), amongst other reasons because  
that is what spreadsheets return for the function now().

I do however agree there is a use case for a function that returns UTC.

Best wishes,

Steven Pemberton

  and add
> examples of
> local-dateTime() showing that the returned result is in the local  
> timezone.
>
> The difference between now() and local-dateTime() is basically whether  
> or not
> the returned value is just in the zulu timezone or the local timezone.
>
> Regards,
>
> Nick Van den Bleeken
>
>>
>> http://www.w3.org/TR/xforms11/#fn-local-date
>> http://www.w3.org/TR/xforms11/#fn-local-dateTime
>>
>> I don't understand the difference between these and the function now().
>>
>> Please give examples along the lines of "if now() returns "...." then
>> local-DateTime would return "...""
>>
>>

Received on Thursday, 13 September 2007 10:03:26 UTC