in reply to How to use use the days date to read a dir?
Feed the output from localtime into an appropriately crafted call to strftime from the core POSIX module.
The cake is a lie. The cake is a lie. The cake is a lie.