Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
rustyfishbones
Master II
Master II

Get Full Day Name

Hi All,

This is my First Question on the Qlik Community, I am trying to get the full day name like, Monday, Tuesday etc...

If I type the following in a Text Object for Month it works

=DATE(RELOADTIME(),'MMMM') the result is April

However if I try the following for Day

=WEEKDAY(reloadtime()) the result I get is Sun, the result I need is Sunday

Hope you can help

Regards

Alan

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi Alan,

Try this

=DATE(Today(),'WWWW')

Hope it helps you.

Regards,

Jagan.

View solution in original post

8 Replies
jolivares
Specialist
Specialist

You have two options:  1st, modify the names of week in your script

SET DayNames='Monday;Tuesday...;

Or make a little table with the inline command containing the days of the week.

sushil353
Master II
Master II

Best way is to change the environmental variables

SET DayNames='Monday;Tuesday;Wednesday;Thursdat;Friday;Saturdat;Sunday';

HTH

Sushil

sujeetsingh
Master III
Master III

yes it is the right approach just put you expression in nested if as

If(exp='Sun',Sunday..like this..you can get it in your expression.

Not applicable

Hi Alan,

Change the below variable in the edit script and use weekday() function

SET DayNames='Monday;Tuesday;Wednesday;Thursday;Friday;Saturday;Sunday';

Thanks,

Sampath

jagan
Luminary Alumni
Luminary Alumni

Hi Alan,

Try this

=DATE(Today(),'WWWW')

Hope it helps you.

Regards,

Jagan.

rustyfishbones
Master II
Master II
Author

Hi Jagan,

That's exactly what I was looking for thank you

why is it not 'DDDD' is there a reason for that?

Regards

Alan

jagan
Luminary Alumni
Luminary Alumni

Hi Alan,

I am not sure about DDDD, I think DD is for representing Day number and WWWW is for representing weekday. 

Hope this helps you.

Regards,

Jagan.

dagrun
Contributor II
Contributor II

where do i find the edit script?