Jensen Kenneth B Sra Afpc/Dpdmpq wrote: > > Wondering why this doesn't work: > Use POSIX qw(strftime); > my ($month, $day) = split / /,(strftime '%b %e',localtime()); > > %e should be the day of the month in the format 1-31. > > But this does work: > Use POSIX qw(strftime); > my ($month, $day) = split / /,(strftime '%b %d',localtime()); > > %d is the day of the month in the format 01-31. > > Is %e not supported?... or am I just doing something wrong. I'm sure there > are dozens of ways to do this, was just curious as to why this way isn't > working.
Why not just get the day and month directly from localtime? John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]