I can't find function for getting weekday.
Please teach me how to get weekday.
For example,
1 monday ...
Thank you.
how to get weekday
Moderator: Martin
Re: how to get weekday
Hi,
You can use the dateformat pattern to get the weekday. It would look like this in an action Notification on Screen to get Tuesday:
{triggertime,dateformat,EEEE}
There seems not to be a way to get the value in a numeric form (1 for Monday, 2 for Tuesday, ...) so you would have to use a map to get from Monday to 1.
Regards,
Martin
You can use the dateformat pattern to get the weekday. It would look like this in an action Notification on Screen to get Tuesday:
{triggertime,dateformat,EEEE}
There seems not to be a way to get the value in a numeric form (1 for Monday, 2 for Tuesday, ...) so you would have to use a map to get from Monday to 1.
Regards,
Martin
Re: how to get weekday
{triggertime,dateformat,EEEE}
This is my seeking thing!
Thank you.
Thank you.
This is my seeking thing!
Thank you.
Thank you.