in reply to Formatting date strings (was: date +%Y%m%d)
use POSIX; print strftime("%Y%m%d", localtime); [download]