Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
%Month function
Function
The function retrieves the time component - month - of given absolute time.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
INT %Month( TIME in Arg, TEXT in timeZone := %GetCurrentTimeZone() ) |
Parameters
Arg | Function argument. | ||||||||
timeZoneName |
Note: For historical reasons, an integer parameter is also accepted. Its interpretation is as follows: 0 - zone "Europe/London", 3600 - zone "Europe/Bratislava", 7200 - zone "Europe/Kiev", 21600 - zone "Asia/Almaty". Usage of integer parameter is deprecated and generates warning into log file! |
Example
Blok kódu | ||||
---|---|---|---|---|
| ||||
%Month(SysTime) ; the result is the current month of the system time |