Thank you Nelson for your response. Please cut and paste your codes and so I
can try them, or how can I get YYYY
MM and DD? What is the function to convert a string to a numeric? Do I need
this function? Thank you for the help!
----- Original Message -----
From: "Nelson, Erick [HDS]" <[EMAIL PROTECTED]>
To: "Samuel_Zheng" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Monday, August 27, 2007 11:51 AM
Subject: RE: perl date
I've created dbf files using DBD::XBase a few times.
To get dates to insert correctly I had to have the date in YYYYMMDD
format.
DBD::Xbase writes dbase 4 files.
If Clipper is old enough that it is using dbase 3 files the answer might
be different.
-----Original Message-----
From: Samuel_Zheng [mailto:[EMAIL PROTECTED]
Sent: Monday, August 27, 2007 8:45 AM
To: [email protected]
Subject: perl date
Hi,
I am using ODBC to convert an old clipper application to a web based
application and I came across something seems simple but it's not.
how can I save a date from perl to a date field in dbf file? can a perl
expert helps out someone who is novice in perl like me? your help would
be very much appreciated! Thanks.
Samuel
__________ NOD32 2489 (20070828) Information __________
This message was checked by NOD32 antivirus system.
http://www.nod32.com.hk