Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Date Format

Hi Friends

I have a field in my data tale namely 'TRAN_DATE' and it is shown below. I have formatted my date field with following script in my data load

DATE(FLOOR(Timestamp#(TRAN_DATE,'MM-DD-YYYY hh:mm:')),'DD-MM-YY') AS TRAN_DATE1

But the result is blank in my output report. Kindly help me

Screenshot_1.png

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

DATE(FLOOR(Timestamp#(TRAN_DATE,'MM-DD-YYYY hh:mm:ss TT')),'DD-MM-YY') AS TRAN_DATE1

View solution in original post

1 Reply
tresesco
MVP
MVP

Try like:

DATE(FLOOR(Timestamp#(TRAN_DATE,'MM-DD-YYYY hh:mm:ss TT')),'DD-MM-YY') AS TRAN_DATE1