home *** CD-ROM | disk | FTP | other *** search
- ****************************************************************************
- *
- * PrintDate v1.0
- *
- * (C) Copyright 1991 by Torsten Jürgeleit
- *
- * THIS IS TRULY PUBLIC DOMAIN!
- *
- ****************************************************************************
-
- This is a very small subset of UDate to produce a free formatable
- output string of the current date and time.
-
-
- Format commands:
-
- \a = day
- \d = date (dd-mmm-yy)
- \t = time
- \q = double quotes
- \e = escape (0x1b = 27)
- \n = line feed
- \\ = backslash
-
-
- Example:
-
- PrintDate FORMAT "*tdc.b*t\q (\a \d \t)\q,13,10,0"
- -> dc.b "Monday 11-Nov-91 11:11:11",13,10,0
-
-
- Default format:
-
- Same as AmigaDOS Date command ("\a \d \t").
-
-
- Caveats:
-
- Do NOT use '\' as escape character for the ARP library too. To check
- this use the ARP command 'set listall'. (Default: set escape *)
- Otherwise the ARP command line parsing function GADS would interpret
- the format commands as escape sequences.
-
-
- Author: Torsten Jürgeleit
- Am Sandberg 4
- W-5270 Gummersbach
- Germany
- Phone: ++49 2261 27400
-
- Bug reports, flames, donations etc. are welcome !
- I may be reached via eMail: mike@miba.obb.sub.org
- Since this is a neighbour, it may take some time to answer :)
-