Documentation
@weekdays
usage
<SEARCH>
<object>
...
</object>
<RETURN >
<INFO weekdays="true"/>
<DESCRIPTIONS weekdays="true"/>
</RETURN>
</SEARCH>
Returns a number representing the day of the week for all the dates in the INFO or DESCRIPTION fields of the objects returned by your NQL query. The value is contained in a `weekday` attribute.
<INFO>
<EVENTSTART weekday="2">2008-02-19 20:00:00</EVENTSTART>
</INFO>
The values are the following :
- 0 for sunday
- 1 for monday
- 2 for tuesday
- 3 for wednesday
- 4 for thursday
- 5 for friday
- 6 for saturday
You can use this number to display this kind of dates :
monday, 4 february
We advise the use of the GET DAYS NQL command to get the translations of the weekdays.