home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / PrintDate.lha / PrintDate / ReadMe < prev   
Encoding:
Text File  |  1992-01-10  |  1.2 KB  |  54 lines

  1. ****************************************************************************
  2. *
  3. *            PrintDate  v1.0
  4. *
  5. *    (C) Copyright 1991 by Torsten Jürgeleit
  6. *
  7. *        THIS IS TRULY PUBLIC DOMAIN!
  8. *
  9. ****************************************************************************
  10.  
  11.     This is a very small subset of UDate to produce a free formatable
  12.     output string of the current date and time.
  13.  
  14.  
  15. Format commands:
  16.  
  17.     \a = day
  18.     \d = date (dd-mmm-yy)
  19.     \t = time
  20.     \q = double quotes
  21.     \e = escape (0x1b = 27)
  22.     \n = line feed
  23.     \\ = backslash
  24.  
  25.  
  26. Example:
  27.  
  28.     PrintDate FORMAT "*tdc.b*t\q (\a \d \t)\q,13,10,0"
  29.         ->        dc.b    "Monday 11-Nov-91 11:11:11",13,10,0
  30.  
  31.  
  32. Default format:
  33.  
  34.     Same as AmigaDOS Date command ("\a \d \t").
  35.  
  36.  
  37. Caveats:
  38.  
  39.     Do NOT use '\' as escape character for the ARP library too. To check
  40.     this use the ARP command 'set listall'.    (Default: set escape *)
  41.     Otherwise the ARP command line parsing function GADS would interpret
  42.     the format commands as escape sequences.
  43.  
  44.  
  45. Author:    Torsten Jürgeleit
  46.     Am Sandberg 4
  47.     W-5270 Gummersbach
  48.     Germany
  49.     Phone: ++49 2261 27400
  50.  
  51.     Bug reports, flames, donations etc. are welcome !
  52.     I may be reached via eMail: mike@miba.obb.sub.org
  53.     Since this is a neighbour, it may take some time to answer :)
  54.