in reply to Re^2: Local Date Format
in thread Local Date Format
perl -e "use POSIX qw(strftime setlocale LC_ALL LC_CTYPE);my ($os)=str +ftime(\"%a [%c]\", localtime); my ($loc) = POSIX::setlocale( &POSIX:: +LC_ALL,'en' ); my ($en)= strftime(\"%a [%c]\", localtime);print \"$os + \n$en\n\";" Mar [22/02/2005 21:41:46] Tue [2/22/2005 9:41:46 PM]
%c prints the default date accepted by the local OS. Or by the LC_ALL requested. (like in 'C' programing, I have heard. So this is obvious for those programers.)
.{\('v')/}
_`(___)' __________________________
Wherever I lay my KNOPPIX disk, a new FREE LINUX nation could be established.
|
|---|