Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Format date include day name

Hi all,

Anyone know how to convert or format this date: Wed, 01-July-2011 into this format: 01/07/2011. I have tried this expression:

=date(Date#([myDateField], 'ddd, DD-MMM-YYYY'),'DD/MM/YYYY') but can't work...

Anyone has any idea to do this? Any comments and suggestions are welcome.

Another problem is my database consists a variety of date with different format and those format are unexpected since my date date will always being updated... I am thinking a way to convert those unexpected date format into this format 'DD/MM/YYYY'. But I am not sure is it possible. Anyone has any ideas on this? Please let me know if my questions are not clear...

Thanks a lot.

13 Replies
Not applicable
Author

use WWW on the place of ddd

Not applicable
Author

ok so what if i have a date feild and i want to have a list box showing only the 7 days of the week, how would i go about doing that

Not applicable
Author

Day(dateField)

Anonymous
Not applicable
Author

Try below for weekdays,

=WeekDay(Today())

Not applicable
Author

Hi there, thanks but it does not show distinct, weekday does however

Not applicable
Author

how do i get them to sort chronologically

Anonymous
Not applicable
Author

Hi,

You may try below,

date_field = Wed, 01-July-2011

=Date(Date#(Trim(SubField(date_field, ' ',2)), 'DD-MMM-YYYY'))

kaushalview
Partner - Creator II
Partner - Creator II

Hi

Use this expression

date(today(), 'DD-MMM-YYYY')&'-'&WeekDay(today())

Regards

Kaushal

Anonymous
Not applicable
Author

You can sort them by Numeric Value to get chronological order. Or you may have to create inline table to get this done.