Description
day(string|date|timestamp): int
dayofmonth(string|date|timestamp): int
Returns the day part of a date or a timestamp string: day("1970-11-01 00:00:00") = 1, day("1970-11-01") = 1.
See https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF
Attachments
Issue Links
- relates to
-
SPARK-8864 Date/time function and data type design
- Resolved
- links to