Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%WeekStartTime function


Function
The function returns the beginning time of the week given by the function arguments.
Declaration


Blok kódu
languageesl
themeConfluence
TIME %WeekStartTime(
   INT in year,
   INT in week,
   INT in timeZone :=  %GetTimeZone()
 )
Parameters


yearYear.
weekSerial number of the week (week begins on Monday). Serial number of the week is returned by function WeekNr.
timeZoneForced time zone to convert to a local time. It is set as a time zone offset from UTC during winter in seconds.


Example


Blok kódu
languageesl
themeRDark
%WeekStartTime(2002,25)   ; the result is the abs. time that determines beginning of 25th week of year of 2002 - 17. 6. 2002