Don't roll your own localtime-to-string routine. Use POSIX and strftime, which aside from requiring no extraneous months array and being less code will also respect the date formatting conventions of the current locate.
In reply to Re^3: Is this logic correct? Maybe can be rewritten better?
by Fletch
in thread Is this logic correct? Maybe can be rewritten better?
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |