in reply to POSIX strftime format question
perl -MDate::Format -e 'print time2str("%o", 86400);' [download]
YuckFoost