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>time</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  TIME

  .  Summary

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

  .  Description

  The time function writes out a time in <buffer> in the form
  hh:mm:ss, with hh being the hour in either 12 or 24 hour format
  based on _time_format_format). <timeval> is the time, represented as the
  number of seconds since midnight. Time values in this form are re-
  turned by the curtime and filetime functions, among others.

  .  Return Value

  None.

  .  Example

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

See Also: _time_format date curtime filetime tday thour tmin tmonth tsec tyear

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