mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
19 lines
653 B
Plaintext
19 lines
653 B
Plaintext
<h3>month() function</h3>
|
|
Bestimmt den Monat eines Datums/Zeit oder die Anzahl der Monate
|
|
aus einem <code>Intervall</code>
|
|
|
|
<h4>Syntax</h4>
|
|
<code>month(date)</code><br>
|
|
<code>month(Intervall)</code><br>
|
|
|
|
<h4>Argumente</h4>
|
|
<code>date</code> - ist date oder datetime. Das Datum aus dem der Monat bestimmt werden soll.<br>
|
|
<code>Interval</code> - ist Interval. Das Intervall dessen Monatsanzahl zurückgegeben werden soll.
|
|
|
|
<h4>Beispiel</h4>
|
|
<!-- Show example of function.-->
|
|
<code>month('2012-05-12') → 05</code><br>
|
|
<code>month(tointerval('3 months')) → 3</code><br>
|
|
<code>month(age('2012-01-01','2010-01-01')) → 4.033...</code><br>
|
|
|