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

  .  Summary

  curtime();

  .  Description

  The curtime function returns the current date/time as the number of
  seconds since Jan 1, 1970. A date/time value in this format is used
  by many SALT functions.

  .  Return Value

  An integer value as described above.

  .  Example

  // Print the current date

  int t;
  str s[64];

  t = curtime();
  date(t, s);
  prints(s);

See Also: date time tyear tmonth tday thour tmin tsec

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