You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tarek Auel (JIRA)" <ji...@apache.org> on 2015/07/16 20:23:06 UTC

[jira] [Created] (SPARK-9115) date/time function: dayInYear

Tarek Auel created SPARK-9115:
---------------------------------

             Summary: date/time function: dayInYear
                 Key: SPARK-9115
                 URL: https://issues.apache.org/jira/browse/SPARK-9115
             Project: Spark
          Issue Type: New Feature
          Components: SQL
    Affects Versions: 1.5.0
            Reporter: Tarek Auel


dayInyear(date): Int

Returns the number of the day in the year of a given date.
e.g. dayInYear("2015-01-01") == 1, dayInYear("2015-12-31") == 365



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org