mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
9 lines
386 B
Plaintext
9 lines
386 B
Plaintext
|
{
|
||
|
"name": "day_of_week",
|
||
|
"type": "function",
|
||
|
"description": "Returns the day of the week for a specified date or datetime. The returned value ranges from 0 to 6, where 0 corresponds to a Sunday and 6 to a Saturday.",
|
||
|
"arguments": [ {"arg":"date","description":"date or datetime value"} ],
|
||
|
"examples": [ { "expression":"day_of_week(todate('2015-09-21'))", "returns":"1"}
|
||
|
]
|
||
|
}
|