I'm looking for the simplest way to use the date and time in the format of MMDDYYHHmm 
(no spaces), which is used later in the program.

Here's what I've come up with; comments or suggestions are appreciated.

#Insert Date and Time
my $month = $mon00   #Two digit month
my $day = $mday00   #Two digit day in month
my $year = $year    #Two digit year
my $hour = $hour00   #Two digit: Hour
my $min = $min00   #Two digit: Minutes
#Combine date and time above into MMDDYYHHmm format
my @log_date = qw($month$day$year$hour$min)

Thanks,
Gregg



---------------------------------
Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs

Reply via email to