Cancel
Showing results for 
Search instead for 
Did you mean: 

Current day of the week in the EventController

Valued Contributor
Valued Contributor

Good morning everyone

How do I identify the current day of the week in the EventController?
I have a SingleProc that only works on Thursday and Friday.
I need a way to identify the current day for the operation of SingleProc.

Can someone help me?

1 REPLY

Re: Current day of the week in the EventController

Gears Honored Contributor Gears Honored Contributor
Gears Honored Contributor
have a look at the method

dayOfWeek

e.g.

dayOfWeek(eventController.absSimTime)
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net