Re: script to compare dates

2009-08-18 Thread Steve Bertrand
Mihir Kamdar wrote: > i am sorry Steve...actually I miswrote DateTime instead of DateManip... > > i saw your code using DateTime but I before I posted this, I was trying > using DateManip...but while testing the code, I found out that DateManip > is not installed... > > i tried executing your c

Re: script to compare dates

2009-08-18 Thread Mihir Kamdar
i am sorry Steve...actually I miswrote DateTime instead of DateManip... i saw your code using DateTime but I before I posted this, I was trying using DateManip...but while testing the code, I found out that DateManip is not installed... i tried executing your code as well but even DateTime is not

Re: script to compare dates

2009-08-18 Thread Steve Bertrand
Mihir Kamdar wrote: > thanks all.and how will be the code like for my requirement if i use > DateTime... I truly thought that you might have attempted to try the complete cut/paste-able program I wrote and made slight changes to fit your "requirement". Even if not, at least testing it would ha

Re: script to compare dates

2009-08-18 Thread Mihir Kamdar
thanks all.and how will be the code like for my requirement if i use DateTime... On Tue, Aug 18, 2009 at 10:09 AM, Shawn H. Corey wrote: > Steve Bertrand wrote: > >> Mihir Kamdar wrote: >> >>> I dont have Datetime module installed. Is there a way without using >>> DateTime?? >>> >> >> As alw

RE: script to compare dates

2009-08-18 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Mihir Kamdar [mailto:kamdarmihi...@gmail.com] > Sent: Tuesday, August 18, 2009 08:55 > To: Steve Bertrand > Cc: beginners > Subject: Re: script to compare dates > > I dont have Datetime module installed. Is there a way

Re: script to compare dates

2009-08-18 Thread Shawn H. Corey
Steve Bertrand wrote: Mihir Kamdar wrote: I dont have Datetime module installed. Is there a way without using DateTime?? As always, TIMTOWTDI, but I have to maintain a lot of legacy code, where the original author (including myself) would rewrite date routines (differently) in each subroutine

Re: script to compare dates

2009-08-18 Thread Steve Bertrand
Mihir Kamdar wrote: > I dont have Datetime module installed. Is there a way without using > DateTime?? As always, TIMTOWTDI, but I have to maintain a lot of legacy code, where the original author (including myself) would rewrite date routines (differently) in each subroutine that needed to parse/m

Re: script to compare dates

2009-08-18 Thread Telemachus
On Tue Aug 18 2009 @ 7:55, Mihir Kamdar wrote: > I dont have Datetime module installed. Is there a way without using > DateTime?? I don't want to be glib, but I can see at least two broad possible options: (1) Install DateTime (it's very worth it). (2) Rewrite all the relevant code from DateTime

Re: script to compare dates

2009-08-18 Thread Mihir Kamdar
I dont have Datetime module installed. Is there a way without using DateTime?? On Tue, Aug 18, 2009 at 7:37 AM, Steve Bertrand wrote: > Mihir Kamdar wrote: > > Hi, > > > > I want to write a script whose input data would be a csv file and records > > would be as follows:- > > > > 60020003076570*

Re: script to compare dates

2009-08-18 Thread Steve Bertrand
Mihir Kamdar wrote: > Hi, > > I want to write a script whose input data would be a csv file and records > would be as follows:- > > 60020003076570*,2,*20-SEP-08.01:09:18,,*04-NOV-08* > ,1,INR,,VOUCHER_BATCH_20080919_00014,2C,,0 > 326495*,5,*20-SEP-08.01:09:57,,*31-DEC-09* > ,10,IN

script to compare dates

2009-08-18 Thread Mihir Kamdar
Hi, I want to write a script whose input data would be a csv file and records would be as follows:- 60020003076570*,2,*20-SEP-08.01:09:18,,*04-NOV-08* ,1,INR,,VOUCHER_BATCH_20080919_00014,2C,,0 326495*,5,*20-SEP-08.01:09:57,,*31-DEC-09* ,10,INR,,VOUCHER_BATCH_20080919_00024,1K,,0