× 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.



Right there under my nose.... Thanks 
_____________________
Kirk Goins CCNA
Systems Engineer, Manage Inc.
IBM Certified i5 Solution Sales
IBM Certified iSeries Solutions Expert
IBM Certified Designing IBM e-business Solutions 
Office 503-353-1721 x106 Cell 503-577-9519
kirkg@xxxxxxxxxxxxx      www.manageinc.com

There are 10 types of people in the world:
Those that understand binary, and those that don't.



"Doug Hart" <DougHart@xxxxxxxxxxxx> 
Sent by: midrange-l-bounces@xxxxxxxxxxxx
08/16/2005 04:05 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
cc

Subject
RE: CVTDAT on V5R2







The help text says: 


Only valid dates can be converted.  If either the from-format or the
to-format use only 2 digits to specify the year (for example, *MDY, 
*DMY, *YMD, or *JUL), valid dates are in the range of January 1, 
1940, to December 31, 2039.  Otherwise, valid dates are in the range
of August 24, 1928, to May 9, 2071.  If the year is specified with 
only 2 digits, years in the range of 40 to 99 are assumed to be 1940
to 1999; years in the range 00 to 39 are assumed to be 2000 to 2039.

--
Doug Hart
 
 

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of kirkg@xxxxxxxxxxxxx
Sent: Tuesday, August 16, 2005 6:24 PM
To: midrange-l@xxxxxxxxxxxx
Subject: CVTDAT on V5R2

I have a client with an RPG program using the CVTDAT cmd and dates prior 
to
1927 are returning blanks for the year. Here's the cmd. Anyone one seen 
this
before?

CVTDAT DATE(IDATE) TOVAR(ODATE) FROMFMT(*YYMD) TOFMT(*MDYY) TOSEP(/)

thanks 
 
_____________________
Kirk Goins CCNA


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.