in reply to How to use localtime() in another function ( in list context)
Use POSIX::strftime instead?