Re: Details of dateTime operations

On 2010-12-27, at 19:16, Andy Seaborne wrote:
> 
> On 03/12/10 14:12, Andy Seaborne wrote:
>> 
>> TIMEZONE is a bit different.  In F&O it returns an xs:dayTimeDuration.
>> There are operations like fn:timezone-from-dateTime for each of
>> dateTime, date and time. See also casting rules [1].
> 
> FYI:
> 
> xs:dayTimeDuration isn't very convenient for display purposes. I've added TZ() to ARQ, not included in it's default SPARQL 1.1 parser, which returns the timezone as a string as it appears in the lexical form. TZ(no timezone given) is "".

That sounds like a better fit to common usecases to me.

- Steve

-- 
Steve Harris, CTO, Garlik Limited
1-3 Halford Road, Richmond, TW10 6AW, UK
+44 20 8439 8203  http://www.garlik.com/
Registered in England and Wales 535 7233 VAT # 849 0517 11
Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10 9AD

Received on Wednesday, 29 December 2010 10:08:00 UTC