aboutsummaryrefslogblamecommitdiff
path: root/sql/hive/src/test/resources/golden/udf_day-1-87168babe1110fe4c38269843414ca4
blob: 7c0ec1dc3be59525136fb809a5cd7432be413a8a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                         
                    





                                                                   
    
day(param) - Returns the day of the month of date/timestamp, or day component of interval
Synonyms: dayofmonth
param can be one of:
1. A string in the format of 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd'.
2. A date value
3. A timestamp value
4. A day-time interval valueExample:
   > SELECT day('2009-07-30') FROM src LIMIT 1;
  30