use POSIX 'strftime'; print "In 20 days time it will be ", strftime('%d %B %Y', localtime(time + 20 * 86_400)), "\n";