in reply to strftime reference for Win32

The reason that POSIX manual doesn't show the list of escape sequences is that the list depends on your OS. Perhaps you should make it more clear that your program is only of use for Windows users - on my system, I also have: Here's a program to see what's available on your OS:
#!/usr/bin/perl use strict; use warnings; use POSIX; foreach my $ch ('a' .. 'z', '%', '+') { my $lc = strftime "%\l$ch", localtime; my $uc = strftime "%\u$ch", localtime; for ($lc, $uc) { s/\n/\\n/g; s/\t/\\t/g; } printf "%%%s %25s %25s\n", lc $ch, $lc, $uc; } __END__

Replies are listed 'Best First'.
Re^2: strftime reference
by holli (Abbot) on Feb 28, 2005 at 14:02 UTC
    I was not aware of that. Thanks for the info, i retitled the node.


    holli, /regexed monk/