× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This should work pretty well for you then:

c eval DateField = %date(yourCSVfield: *USA)



Jeff Young wrote:
The problem that I am attempting to solve is that I am processing a CSV file that was created from an XL workbook. The workbook contains date fields that are currently in m/d/yyyy format. Due to support considerations, the client is not willing to allow use of the HSSF API's as this is a business critical applicaton and if anything breaks, they need to be able to have me fix it ASAP.
The issue I was attempting to get around was what if the customer changed the format of the date. Since the CSV file has no concept of date, it would just output a character value matching the dispayed value in the workbook.

Thanks for all the questions and suggestions.
Jeff Young Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2 IBM Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3
IBM Certified Specialist- e(logo)server i5Series Technical Solutions Implementer V5R3 ------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus Database: 270.8.1/1729 - Release Date: 10/16/2008 7:12 PM



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.