mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
including replacement of todate and tointerval, use of third person conjugation and addition/fix of examples
9 lines
387 B
Plaintext
9 lines
387 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(to_date('2015-09-21'))", "returns":"1"}
|
|
]
|
|
}
|