Hi All,
Is there any function that can use to convert the date format from yyyymmdd into yyyy-mm-dd or from yyyy-mm-dd back to yyyymmdd?
Currently I need to use something like
SUBSTR(Date, 1, 4) + '-' + SUBSTR(Date, 5, 2) + '-' + SUBSTR(Date, 7, 2)
Thanks in advance.
MrSatan.
Is there any function that can use to convert the date format from yyyymmdd into yyyy-mm-dd or from yyyy-mm-dd back to yyyymmdd?
Currently I need to use something like
SUBSTR(Date, 1, 4) + '-' + SUBSTR(Date, 5, 2) + '-' + SUBSTR(Date, 7, 2)
Thanks in advance.
MrSatan.