Hi,
is it possible to get the “day of week” from a existing DateTime item?
i’ve looked around but i could only find the dayofweek from “today” with
now.getDayOfWeek()
i’ve tried DateTimeItem.getDayOfWeek()
but i get the following warning in Visual Studio:
The method getDayOfWeek() is undefined for the type DateTimeItem
and this error while executing the rule:
‘getDayOfWeek’ is not a member of ‘org.eclipse.smarthome.core.library.items.DateTimeItem’
any help is appreciated