Gets the day of the week.
Syntax
Smartsite SXML | Copy Code |
---|---|
integer datetime.getdayofweek() integer datetime.getdayofweek(datetime dt) |
Parameters
Name | Data Type | Description |
---|---|---|
dt | DateTime | A DateTime. |
Return Value
Data Type | Description |
---|---|
Integer | An integer constant that indicates the day of the week. This value ranges from zero, indicating Sunday, to six, indicating Saturday. |