Page 1 of 1

how to get weekday

Posted: 02 Feb 2016 03:09
by suda
I can't find function for getting weekday.
Please teach me how to get weekday.
For example,
1 monday ...
Thank you.

Re: how to get weekday

Posted: 02 Feb 2016 14:14
by Martin
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

Re: how to get weekday

Posted: 02 Feb 2016 16:39
by suda
{triggertime,dateformat,EEEE}
This is my seeking thing!
Thank you.
Thank you.