SirLib date processing: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (link repair) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
<li>To display the current date, as returned by the TIME SVC, modified | <li>To display the current date, as returned by the TIME SVC, modified | ||
by the <var>[[SYSDATE parameter|SYSDATE]]</var> parameter or the | by the <var>[[SYSDATE parameter|SYSDATE]]</var> parameter or the | ||
the <var class="product">Sir2000 User Language Tools</var> <var>APPDATE</var> clock, as page headers in various end-user displays.</li> | the <var class="product">[[Sir2000 User Language Tools]]</var> <var>[[APPDATE command|APPDATE]]</var> clock, as page headers in various end-user displays.</li> | ||
<li>To keep track of the date and time at which a user issued a | <li>To keep track of the date and time at which a user issued a | ||
Line 21: | Line 21: | ||
For headers on pages or rows that occur on | For headers on pages or rows that occur on | ||
printed pages or displayed screens, | printed pages or displayed screens, | ||
<var class="product"> | <var class="product">[[RKTools]]</var> products generally use a full four-digit year format, although they may display dates with | ||
year format, although they may display dates with | |||
two-digit years in circumstances where the proper century can be | two-digit years in circumstances where the proper century can be | ||
inferred from the context. | inferred from the context. |
Latest revision as of 22:58, 8 February 2018
SirLib uses dates in the following ways:
- To examine the CPU clock (as returned by the STCK hardware instruction) to determine the current date, in case SirScan is under a rental or trial agreement.
- To display the current date, as returned by the TIME SVC, modified by the SYSDATE parameter or the the Sir2000 User Language Tools APPDATE clock, as page headers in various end-user displays.
- To keep track of the date and time at which a user issued a CHECKIN, CHECKOUT, CONFIGURE, or CUTOVER SirLib operation, using the TIME SVC, modified by the SYSDATE parameter or the the Sir2000 User Language Tools APPDATE clock.
For headers on pages or rows that occur on printed pages or displayed screens, RKTools products generally use a full four-digit year format, although they may display dates with two-digit years in circumstances where the proper century can be inferred from the context.