Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9115

date/time function: dayInYear

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • SQL
    • None

    Description

      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

      Attachments

        Activity

          People

            TarekAuel Tarek Auel
            TarekAuel Tarek Auel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: