- or download this
my $todayDate = system qq(date)
- or download this
The current date is: 11/11/2009
Enter the new date: (mm-dd-yy) $todayDate
- or download this
my($sec,$min,$hr,$day,$month,$yr) = (localtime())[0..5];
- or download this
my($sec,$min,$hr,$day,$month,$yr) = (gmtime())[0..5];