Skip to main content
Skip table of contents

The daytime operator

This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP

systemdict daytime string

This operator returns the date and time in a fixed format, in English. The string returned is a fixed-format, 26-character string, including terminating newline and null characters, in the same format as provided by the C function asctime() .

Note: Versions of this manual for version 5.1 or earlier incorrectly stated that it was necessary to supply a string to this operator.

Given the availability of localedaytime , we recommend you to restrict the use of daytime to compatibility with previous versions or with caution to applications where you wish to process a string of fixed format.

Example: Sun Oct 23 01:03:52 1997

See also: The localedaytime operator .

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.