in reply to Out of Memory after file open for append
On a completely different track, the '%D' format for strftime prints the date in MM/DD/YYYY format, which is great if you're in America, but terribly confusing in many other places in the world (such as Europe or Australia). It also uses a 2-digit year, and we all know how much trouble people got into for using that last century.
If you wish to have an unambiguous, internationally readable date, then "%Y-%m-%d" is highly recommended.
As a different aside, evaluating localtime() in a scalar context also returns an unambiguous, human readable date.
Cheers,
Paul
|
|---|