[U2] Coversion Code for Date

2011-06-03 Thread Nathan Dube
All This may be a noob question, but here it goes! Does anyone know what the conversion code is for a date field if I want to format the date as follows? -MM-DD Sincerely, Nathan Dube Network Administrator Jerry Pate Turf & Irrigation CONFIDENTIALITY NO

Re: [U2] Coversion Code for Date

2011-06-03 Thread George Gallen
OCONV(NIDATA<49,TAJ>,"DY4MD-") > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Nathan Dube > Sent: Friday, June 03, 2011 3:47 PM > To: u2-users@listserver.u2ug.org > Sub

Re: [U2] Coversion Code for Date

2011-06-03 Thread Bill Brutzman
sers-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Nathan Dube Sent: Friday, June 03, 2011 3:47 PM To: u2-users@listserver.u2ug.org Subject: [U2] Coversion Code for Date All This may be a noob question, but here it goes! Does anyone know what the conver

Re: [U2] Coversion Code for Date

2011-06-03 Thread Nathan Dube
: u2-users@listserver.u2ug.org Subject: [U2] Coversion Code for Date All This may be a noob question, but here it goes! Does anyone know what the conversion code is for a date field if I want to format the date as follows? -MM-DD Sincerely, Nathan Dube Network Administrator Jerry Pate

Re: [U2] Coversion Code for Date

2011-06-03 Thread Nathan Dube
e 03, 2011 3:06 PM To: U2 Users List Subject: Re: [U2] Coversion Code for Date Looks like D4-YMD works. Thanks all! Sincerely, Nathan Dube Network Administrator Jerry Pate Turf & Irrigation -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-us

Re: [U2] Coversion Code for Date

2011-06-03 Thread Rex Gozar
FYI - "DY4MD-" and "D4-YMD" will output -M-DD for single digit months. "D4-YMD[4,2,2]" will properly output -MM-DD. rex ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] Coversion Code for Date

2011-06-03 Thread Rex Gozar
Forgot to mention on Windows, Universe 10.3.7, Pick flavor: On Fri, Jun 3, 2011 at 5:04 PM, Rex Gozar wrote: > FYI - > > "DY4MD-" and "D4-YMD" will output -M-DD for single digit months. > "D4-YMD[4,2,2]" will properly output -MM-DD. > > rex > __

Re: [U2] Coversion Code for Date

2011-06-03 Thread George Gallen
n...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Rex Gozar > Sent: Friday, June 03, 2011 5:05 PM > To: U2 Users List > Subject: Re: [U2] Coversion Code for Date > > FYI - > > "DY4MD-" and "D4-YMD" will output Y

Re: [U2] Coversion Code for Date

2011-06-03 Thread precisonline
I think the difference might be Unidata vs. Universe. George, you're on UV, right? Nathan is UD. I'd be interested to know, does D4-YMD work on UV? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-us

Re: [U2] Coversion Code for Date

2011-06-03 Thread Perry Taylor
Another variation... OCONV(THE.DATE, 'DYMD-[4,2,2]') - Original Message - From: Bill Brutzman [mailto:bi...@hkmetalcraft.com] Sent: Friday, June 03, 2011 03:52 PM To: U2 Users List Subject: Re: [U2] Coversion Code for Date Consider something like... Today = date() This.Da

Re: [U2] Coversion Code for Date

2011-06-03 Thread Robert Porter
UV on HP-UX -- PI flavor : 0001: TODAY = DATE() : 0002: PRINT OCONV(TODAY,'D4-YMD') : 0003: END Bottom at line 3. : Q :RUN SRC RFPD4 2011-06-03 Robert F. Porter, MCSE, CCNA, ZCE, OCP-Java Lead Sr. Programmer / Analyst Laboratory Information Services Ochsner Health System

Re: [U2] Coversion Code for Date

2011-06-03 Thread Curt Stewart
precisonl...@gmail.com wrote: >I think the difference might be Unidata vs. Universe. George, you're on UV, >right? Nathan is UD. I'd be interested to know, does D4-YMD work on UV? >___ >U2-Users mailing list >U2-Users@listserver.u2ug.org >http://list