Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>date</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  DATE

  .  Summary

  date(int <timeval>, str <buffer>);

  .  Description

  The date function writes out a date in <buffer> in the form
  mm/dd/yy, dd/mm/yy, or yy/mm/dd (which is based on the system vari-
  able _date_format). <timeval> is the date, represented as the number
  of seconds since Jan 1, 1970. Time values in this form are returned
  by the curtime and filetime functions, among others.

  .  Return Value

  None.

  .  Example

  str s[16];
  printsc("The current date is ");
  date(curtime(), s);
  prints(s);

See Also: _date_format time curtime filetime tday thour tmin tmonth tsec tyear

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson