Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Selection of date format

Hi All,

I am extracting data with current format is datetime.

How would i change the date format as i only want to capture date only and discard the time in qlikview loading phase.

eg:

LOAD

    datekeyin,

Thanks.

1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi,

LOAD

    datekeyin,

     DATE(datekeyin,'DD-MM-YY')     AS [Dates]

Regards,

Sokkorn

View solution in original post

2 Replies
Sokkorn
Master
Master

Hi,

LOAD

    datekeyin,

     DATE(datekeyin,'DD-MM-YY')     AS [Dates]

Regards,

Sokkorn

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

The correct way is to use the floor() function

Date(floor(DATE)) as Date

-Rob