Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Experts,
How to convert the below Data and Time stamp into M/DD/YYYY.
Please help. Thank you
as below
date(floor(timestamp#(ACCOUNTOPENDATE,'YYYY-MM-DD hh:mm:ss[.fff]')),'M/DD/YYYY') as Datefield
Another Solution will be:
If the field type is Timestamp, then as below:
Date(Floor(ACCOUNTOPENDATE)) as ACCOUNTOPENDATE
as below
date(floor(timestamp#(ACCOUNTOPENDATE,'YYYY-MM-DD hh:mm:ss[.fff]')),'M/DD/YYYY') as Datefield
Another Solution will be:
If the field type is Timestamp, then as below:
Date(Floor(ACCOUNTOPENDATE)) as ACCOUNTOPENDATE