h6. [[TerritoryManager]] h6(. » [[Territory SWI Calls|SWI Calls]] h6((. » Territory_ReadCalendarInformation h2. Territory_ReadCalendarInformation h5. (SWI &4305F) |_<^{width:4em}. Entry | | |<^. R0 |<^. [[Territory Numbers|Territory number]], or -1 for current | |<^. R1 |<^. Pointer to block of memory containing UTC Time (5 bytes in size) | |<^. R2 |<^. Pointer to block of memory (12 words in size) | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved| |<^. R1 |<^. Preserved| |<^. R2 |<^. Preserved| h4(#options). Output Buffer |_<^{width:4em}. Offset |_<^. Value | |<^. 0 |<^. Number of first working day in the week | |<^. 4 |<^. Number of last working day in the week | |<^. 8 |<^. Number of months in the current year | |<^. 12 |<^. Number of days in the current month | |<^. 16 |<^. Maximum length of AM/PM string | |<^. 20 |<^. Maximum length of WE string | |<^. 24 |<^. Maximum length of W3 string | |<^. 28 |<^. Maximum length of DY string | |<^. 32 |<^. Maximum length of ST string (may be zero) | |<^. 36 |<^. Maximum length of MO string | |<^. 40 |<^. Maximum length of M3 string | |<^. 44 |<^. Maximum length of TZ string | h4. Use The purpose of this call is to return various information about the given territory’s calendar. h4. Notes An explanation of all the different [[Date Format String Tokens|Date format strings tokens]] is available. h4. See also * [[Date Format String Tokens]] * [[Territory Numbers]]