%WeekStartTime function


Function
The function returns the beginning time of the week given by the function arguments.
Declaration
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
%WeekStartTime(2002,25)   ; the result is the abs. time that determines beginning of 25th week of year of 2002 - 17. 6. 2002

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .