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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
realpixel
Creator
Creator

Separate date and time

Hello,

I have following chart

How to separate the column date.

I need to have one column only for the date and another column for the time.

Someone have an idea, how to solve this problem?

date

17/07/2013 18:02

17/07/2013 18:03

17/07/2013 18:03

17/07/2013 18:04

17/07/2013 18:04

17/07/2013 18:04

17/07/2013 18:17

17/07/2013 18:20

17/07/2013 18:21

17/07/2013 18:21

17/07/2013 18:44

17/07/2013 18:45

17/07/2013 18:45

17/07/2013 18:46

17/07/2013 18:46

18/07/2013 06:35

18/07/2013 06:35

18/07/2013 06:59

18/07/2013 07:00

18/07/2013 07:00

18/07/2013 07:10

18/07/2013 07:14

18/07/2013 07:18

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

You can use

Date(Floor(DateFeld)) AS Date

Time(Frac(DateField)) AS Time

View solution in original post

4 Replies
tresesco
MVP
MVP

For date, try = Date(YourDateField, 'DD/MM/YYYY')

and for Time, =Time(TimeStamp#(YourDateField, 'DD/MM/YYYY hh:mm'), 'hh:mm')

martinpohl
Partner - Master
Partner - Master

hello Pascal,

see attached

Regards

CELAMBARASAN
Partner - Champion
Partner - Champion

You can use

Date(Floor(DateFeld)) AS Date

Time(Frac(DateField)) AS Time

realpixel
Creator
Creator
Author

Thank you Celambarasan, it's working perfectly!