Hi Rajini, Please go to cpan.org and search for Perl modules that have "date" in their names; you'll find several that will do what you ask. *----------------------------------------------------------------------* | Tim Maher, PhD (206) 781-UNIX http://www.consultix-inc.com | | tim at ( TeachMePerl, TeachMeLinux, or TeachMeUnix ) dot Com | *-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- | > "Minimal Perl for UNIX People" has been an Amazon Best Seller! < | | * Download chapters, read reviews, and order at: MinimalPerl.com * | *----------------------------------------------------------------------*
On Tue, Jan 27, 2009 at 05:54:17AM +0000, S, Rajini (STSD) wrote: > > > Hi, > > I am new to Perl Programming and have a query in perl. > > In perl is there any system defined functions to find out the Differences in > dates. > > Eg : > > Date 1 -> 26-Jan-2009 > Date 2 -> 14-Jan-2009 > > So the difference between two dates is 12 days. > > Is there a way to achieve this with any system defined functions In Perl ???? > > > -Rajini >