You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2019/01/21 11:05:00 UTC

[jira] [Created] (JENA-1659) Add timezone related functions : fn:implicit-timezone, , afn:timezone, afn:nowtz

Andy Seaborne created JENA-1659:
-----------------------------------

             Summary: Add timezone related functions : fn:implicit-timezone, , afn:timezone, afn:nowtz
                 Key: JENA-1659
                 URL: https://issues.apache.org/jira/browse/JENA-1659
             Project: Apache Jena
          Issue Type: Task
    Affects Versions: Jena 3.10.0
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne
             Fix For: Jena 3.11.0


{{fn:impliciit-timezone}} returns a timezone as an xsd:Duration for the query engine timezone. It is a function from F&O 3.1 hence the name.

{{afn:timezone}} is a more natural name for {{fn:impliciit-timezone}}.

{{afn:nowtz}} returns the query execution date time but with the local timezone. {{NOW()}} returns the date time in UTC. 
It is the equivalent to {{fn:adjust-dateTime-to-timezone(NOW(), fn:implicit-timezone())}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)