Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
%TimeFromItems function
Function
The function returns the absolute time from given time components.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
TIME %TimeFromItems( INT in year, INT in month, INT in day, INT in hour, INT in min, INT in sec, INT in msec, TEXT in timeZone := %GetCurrentTimeZone() ) |
Parameters
year | Year | ||||||||
month | Month | ||||||||
day | Day | ||||||||
hour | Hour | ||||||||
min | Minute | ||||||||
sec | Second | ||||||||
msec | Millisecond | ||||||||
timeZoneName |
Note: For historical reasons, 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 | ||||
---|---|---|---|---|
| ||||
%TimeFromItems(2002,9,12,10,15,0,0) ; returns an abs. time corresponding to the value of 12-9-2002 10:15:00.000 |