use strict; use POSIX qw[strftime]; my $date = strftime('%d/%m/%Y', localtime(time + 60 * 60 * 24 * 15));