SirLib date processing: Difference between revisions
Jump to navigation
Jump to search
m (add link) |
m (link repair) |
||
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">[[ | 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 |
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.