SirLib date processing: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (RKTools replaces UL/SPF)
m (add link)
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">[[Media:Ul2krNew.pdf|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

Revision as of 00:54, 28 October 2015

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.

See also