h6. [[TerritoryManager]] h6(. » [[Territory SWI Calls|SWI Calls]] h6((. » Territory_ConvertTimeStringToOrdinals h2. Territory_ConvertTimeStringToOrdinals h5. (SWI &43050) |_<^{width:4em}. Entry | | |<^. R0 |<^. [[Territory Numbers|Territory number]], or -1 for current | |<^. R1 |<^. "Reason code":#reason | |<^. R2 |<^. Pointer to time string | |<^. R3 |<^. Pointer to word aligned buffer to contain ordinals (as per [[Date Time Ordinal Block]]) | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Preserved | |<^. R2 |<^. Preserved | |<^. R3 |<^. Preserved | h4(#reason). Reason Codes |_<^{width:4em}. #|_<^{width:4em}. Hex #|_<^. String supplied in format | |<^. 1|<^. &01|<^. %24:%MI:%SE | |<^. 2|<^. &02|<^. %W3, %DY-%M3-%CE%YR | |<^. 3|<^. &03|<^. %W3, %DY-%M3-%CE%YR.%24:%MI:%SE | h4. Use The purpose of this call is to convert a time string to time ordinals. h4. Notes This SWI returns the time block as a set of useful numbers. Values not passed in the string are assigned -1 in the block. h4. See also * [[Date Format String Tokens]] * [[Date Time Ordinal Block]] * [[Territory Numbers]] * [[Territory_ConvertStandardDate]]