• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Implementing "date" in C

drimades

New Member
Joined
Oct 11, 2006
Messages
10 (0.00/day)
This is part of the "date.c" program:
...

out[0] = '\1';

if (rfc_format)
setlocale (LC_ALL, "C");

done = (nstrftime (out, out_length, format, tm, 0, when.tv_nsec) || out[0] == '\0');

...

How is defined nstrftime() and how it works in this case?
 
I would just ask some nice girl out on a date if I were you :D
 
Back
Top