17

DocuClock User's Guide

< Prev     index     Next >

Time Fields

Time fields allow the printing of a time stamp in a user-defined format. By modifying the format you can easily customize the time string that is both printed on the slip and shown in the time window.


The default format is

mm/dd/yy hh:nn:ss

The 'mm' is a placeholder for number of the month, 'dd' for numeric day of month, 'yy' for 2 digit year, 'hh' for hour (24 hour format), 'nn' minute of hour and 'ss' seconds of minute. A sample time string for this format could be:

11/22/00 17:03:16



Format specifiers:


DAY, DOW and DATE (d)

d    Displays the day as a number without a leading zero (1 - 31).

dd   Displays the day as a number with a leading zero (01 - 31).

ddd  Displays the day as an abbreviation (Sun - Sat).

dddd Displays the day as a full name (Sunday - Saturday).



MONTH (m)

m    Displays the month as a number without a leading zero (1 - 12).

     If m immediately follows h or hh, the minute rather than the month is displayed.

mm   Displays the month as a number with a leading zero (01 - 12).

     If m immediately follows h or hh, the minute rather than the month is displayed.

mmm  Displays the month as an abbreviation (Jan - Dec).

mmmm Displays the month as a full month name (January - December).


YEAR (y)

y    Displays the day of the year as a number (1 - 366).

yy   Displays the year as a 2-digit number (00 - 99).

yyyy Displays the year as a 4-digit number (100 - 9999).


HOUR (h,H)

h    Displays the hour as a number without leading zeros (0 - 23).

hh   Displays the hour as a number with leading zeros (00 - 23).


MINUTE (N)