--- On Wed 10/12, Stevenson, Charles < >[EMAIL PROTECTED] > wrote: >From: Stevenson, Charles [mailto: [EMAIL PROTECTED] >To: [email protected] >Date: Wed, 12 Oct 2005 18:38:12 -0400 >Subject: RE: [U2] Date Conversion Codes > >My favourite is to get CCYYMMDD format by date conversion, >then Mask-Character-Numeric to strip out the delimiters: > >01 D some date field, output as CCYYMMDD >02 nnn >03 DYMD[4,2,2]}MCN >04 >05 8R > >Or in basic: >CCMMYDD = OCONV( Idate, 'DYMD[4,2,2]':@VM:'MCN' ) >^^^^^ >-------
And did you know you can get that result without multiple conversions? Try: DYMD[4'',2'',2] instead of: DYMD[4,2,2]}MCN Just for a little more jollies! Sincerely Best Regards, Richard Lewis Sr. Programmer/Analyst Nu Skin Enterprises _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
