Or maybe it's my Pick flavor. Richard Lewis
On Tue, Apr 24, 2012 at 6:27 PM, Rick Nuckolls <r...@lynden.com> wrote: > Hmmm, > > That must be a change at UV 11. 10.2.x still produces 2 digit months and > days without the extra 2’s. > > -Rick > > > On Apr 24, 2012, at 5:21 PM, Richard Lewis wrote: > > > On UV 11.1.3 this leaves single-digit months as a single digit. > > > > OCONV(TODAY, 'DYMD[2"",2"",2]') does the job correctly. The brackets > allow > > format modifiers to the parameters that follow the D conversion code, in > > this case, 'YMD'. The 2's specifiy how many characters to display, and > the > > empty quotes specify the 'text' with which to separate the elements. > > There's about 80 lines that describe it when you do HELP CONV D at TCL. > > > > Richard Lewis > > > > > > On Tue, Apr 24, 2012 at 6:08 PM, Rick Nuckolls <r...@lynden.com> wrote: > > > >> Or, a bit more simply: > >> > >> OCONV(TODAY, "D2YMD[‘’ , ’’]”) > >> On Apr 24, 2012, at 4:58 PM, Perry Taylor wrote: > >> > >>> OCONV(TODAY, 'DYMD[4"",2"",2]') > >>> > >>> > >>> ----- Original Message ----- > >>> From: Lunt, Bruce [mailto:bl...@shaklee.com] > >>> Sent: Tuesday, April 24, 2012 07:55 PM > >>> To: 'U2 Users List' <u2-users@listserver.u2ug.org> > >>> Subject: Re: [U2] YYMMDD easy way? > >>> > >>> On Unidata try: OCONV(TODAY,'DYMD') > >>> > >>> -----Original Message----- > >>> From: u2-users-boun...@listserver.u2ug.org > >>> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson > >>> Sent: Tuesday, April 24, 2012 4:52 PM > >>> To: u2-users@listserver.u2ug.org > >>> Subject: [U2] YYMMDD easy way? > >>> > >>> > >>> > >>> YYMMDD = OCONV(TODAY,'DY2'):OCONV(TODAY,'DM'):OCONV(TODAY,'DD') > >>> > >>> easier way to do this? _______________________________________________ > >>> U2-Users mailing list > >>> U2-Users@listserver.u2ug.org > >>> http://listserver.u2ug.org/mailman/listinfo/u2-users > >>> _______________________________________________ > >>> U2-Users mailing list > >>> U2-Users@listserver.u2ug.org > >>> http://listserver.u2ug.org/mailman/listinfo/u2-users > >>> > >>> CONFIDENTIALITY NOTICE: This e-mail message, including any > >>> attachments, is for the sole use of the intended recipient(s) > >>> and may contain confidential and privileged information. Any > >>> unauthorized review, use, disclosure or distribution is > >>> prohibited. ZirMed, Inc. has strict policies regarding the > >>> content of e-mail communications, specifically Protected Health > >>> Information, any communications containing such material will > >>> be returned to the originating party with such advisement > >>> noted. If you are not the intended recipient, please contact > >>> the sender by reply e-mail and destroy all copies of the > >>> original message. > >>> _______________________________________________ > >>> U2-Users mailing list > >>> U2-Users@listserver.u2ug.org > >>> http://listserver.u2ug.org/mailman/listinfo/u2-users > >> > >> _______________________________________________ > >> U2-Users mailing list > >> U2-Users@listserver.u2ug.org > >> http://listserver.u2ug.org/mailman/listinfo/u2-users > >> > > _______________________________________________ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users