Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
%WeekOfYearStartTime function
Function
The function returns the beginning time of the week given by the function arguments.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
TIME %WeekStartTime%WeekOfYearStartTime( INT in year, INT in week, TEXT in timeZone := %GetCurrentTimeZone() ) |
Parameters
Example
Blok kódu | ||||
---|---|---|---|---|
| ||||
%WeekStartTime%WeekOfYearStartTime(20022021,25 1) ; the result is the abs. time that determines beginning of 25th1st week of year of 20022021 - 1704. 601. 20022021 |
Note
For yearly recurrence pattern rules, the The first week of the calendar year is the first week that contains at least four days in that calendar year.
This function does not take this assumption into account.
For this reason, the function may generate a time offset by 1 week for some years.To avoid this difference, we recommend you to use the function %WeekOfYearStartTime.