in reply to Getting Today's Date - Strange Problem

Your code is fine without Time::localtime, which is just a hashed(?) modification of the builtin localtime. You are using the builtin correctly.

You may be interested in POSIX::strftime, which formats time strings from the list output of localtime.

After Compline,
Zaxo

  • Comment on Re: Getting Today's Date - Strange Problem