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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
thewillemzelluf
Creator
Creator

slitting field

Hey,


this field consists of date + time (see figure). I would like to make 2 colommun here. 1 with only the date and 1 with only time. Someone any idea how I can do this.


tijd + datum.png

1 Solution

Accepted Solutions
Mark_Little
Luminary
Luminary

Hi,

If the above doesn't work you can try.

Date(SUBFIELD(ScanDatumTijd,' ',1),10),'DD-MM-YYYY')

Timestamp(SUBFIELD(ScanDatumTijd,' ',2),'hh:mm:ss')

Mark

View solution in original post

3 Replies
shrusrkt
Contributor III
Contributor III

For Date : Date(FieldName,'DD-MM-YYYY')

For Time: Timestamp(FieldName,hh:mm:ss)

Mark_Little
Luminary
Luminary

Hi,

If the above doesn't work you can try.

Date(SUBFIELD(ScanDatumTijd,' ',1),10),'DD-MM-YYYY')

Timestamp(SUBFIELD(ScanDatumTijd,' ',2),'hh:mm:ss')

Mark

thewillemzelluf
Creator
Creator
Author

Thankyou both it did work out! i have one other question:

i want to count al the deliveries (the timestamps are times of deliverie) that are arrived after 10:00:00. Any idea how to do that?


Thanks in advance!!