Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
daniel_f
Creator
Creator

Name day function in layout

hi all,

can someone help me with a function how to get the name day (of today) in layout object?

i need to know (for example) if today is 'Monday' than to send email accordingly?

thanks,

Dany

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Use WeekDay function. this will give you the day names based on this variable value

SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';

if you use Num(WeekDay(Today())) it will give you 0.

0-6 are possible values.

View solution in original post

3 Replies
MEllinghausen
Creator III
Creator III

you need

Weekday(today()) ?

Marcus

CELAMBARASAN
Partner - Champion
Partner - Champion

Use WeekDay function. this will give you the day names based on this variable value

SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';

if you use Num(WeekDay(Today())) it will give you 0.

0-6 are possible values.

daniel_f
Creator
Creator
Author

Hi,

The both answers were what i needed

THANKS Celambarasan and Marcus !