Hi guys,
I was wondering if you could help me.
I have a variable in my perl code called $deadline_date.
I assign $deadline_date the value 20011212. The date format is YYYYMMDD.
 
I have a file which contains 2 columns of values i.e. date and product as
follows:
 
20011001 abc
20010701 bcd
20011101 efg
20010201 hij
 
I need to select those rows which has a date less than 3 months before the
$deadline_date i.e. rows 1 and 3
 
How can I use DATE functionalities in perl to do this comparison ?
Any advice would be appreciated.
Thanks in advance
Tony
 


Reply via email to