in reply to Re^2: Is this logic correct? Maybe can be rewritten better?
in thread Is this logic correct? Maybe can be rewritten better?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Is this logic correct? Maybe can be rewritten better?
by Nik (Initiate) on Apr 29, 2005 at 16:43 UTC | |
by Fletch (Bishop) on Apr 29, 2005 at 17:13 UTC |