Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
0.13.0
-
None
-
None
Description
it'd be nice to have function for converting datetime to different formats, for example:
format_date('2013-12-12 00:00:00.0', 'yyyy-MM-dd HH:mm:ss.S', 'yyyy/MM/dd')
There are two signatures to facilitate further using:
format_date(datetime, fromFormat, toFormat)
format_date(timestamp, toFormat)
Attachments
Attachments
Issue Links
- is duplicated by
-
HIVE-6214 Need a UDF to convert a Date String from any standard format to another. Should be able to provide the Date String, current format and to the format into which it need to be converted and returned as String output of UDF
- Resolved
- relates to
-
HIVE-10276 Implement date_format(timestamp, fmt) UDF
- Closed
- links to