Has anyone come up with an OCONV string that will product an ISO
standard date (-MM-DD)? After a vendor insisted on this last week I
ended up creating a subroutine called by an I descriptor but it seems
like there should be an easier way. A quick trip through the Universe
Basic manual, my
D-YMD[4,2,2]
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny
Sent: 11 March 2013 13:57
To: U2-Users@listserver.u2ug.org
Subject: [U2] ISO Date Format
Has anyone come up with an OCONV string
Rob Harris
Senior Software Engineer
Group IT Engineering, the OMEN
Tel : 01604 502666
Please consider your environmental responsibilities before printing this
email
On 11 March 2013 13:56, Jeff Schasny jscha...@gmail.com wrote:
Has anyone come up with an OCONV string that will product an ISO
Blasted Google Mail, sent a blank reply in error..
Beaten to the punch by Brian, was going to post;
OCONV(INPDATE, D4-YMD[4,2,2])
Rob Harris
Senior Software Engineer
Group IT Engineering, the OMEN
Tel : 01604 502666
Please consider your environmental responsibilities before printing this
email
By the way, you can also completely eliminate the dash (or slash, etc.)
delimiters:
OCONV( 16507 , DYMD[4'',2'',2] ) -- 20130311
ICONV( 20130311, DYMD[4'',2'',2] ) -- 16507
Notice that ICONV'ing the OCONV'd or OCONV'ing the ICONVd result gets
you bat to where you started. That makes it
I knew it had to be possible. Thanks
Brian Leach wrote:
D-YMD[4,2,2]
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny
Sent: 11 March 2013 13:57
To: U2-Users@listserver.u2ug.org
Subject: [U2] ISO Date
It's things like this that make me wish more MV platforms had
user-defined processor codes. U2 excels in the versatility here. I
can't use wonderful codes like this because most of my code needs to
work across platforms. Wah. :'(
T
From: Charles Stevenson
OCONV( 16507 , DYMD[4'',2'',2] )
Subject: [U2] ISO Date Format
Has anyone come up with an OCONV string that will product an ISO standard
date (-MM-DD)? After a vendor insisted on this last week I ended up
creating a subroutine called by an I descriptor but it seems like there
should be an easier way. A quick trip through
[2,2,2]' to give me the value 13503511 just as well.
Fun with dates!
BobW
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charles
Stevenson
Sent: Monday, March 11, 2013 8:08 AM
To: U2 Users List
Subject: Re: [U2] ISO
Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charles
Stevenson
Sent: Monday, March 11, 2013 8:08 AM
To: U2 Users List
Subject: Re: [U2] ISO Date Format
By the way, you can also completely eliminate the dash (or slash, etc
[mailto:stevenson.c...@gmail.com]
Sent: Monday, March 11, 2013 10:59 AM
To: U2 Users List
Cc: Woodward, Bob
Subject: Re: [U2] ISO Date Format
Bob,
I'm curious,on UD6.1 does this work, using 2 conversion codes with a
value mark between? :
OCONV( 16507, D-YMD[2,2,]: @VM: MCN ) -- 120311
cds
On 3/11
the last 2 and the year is 2013, not 2012. This was a
good thought, though. Cool
-Original Message-
From: Charles Stevenson [mailto:stevenson.c...@gmail.com]
Sent: Monday, March 11, 2013 10:59 AM
To: U2 Users List
Cc: Woodward, Bob
Subject: Re: [U2] ISO Date Format
Bob,
I'm curious
On 11/03/2013 17:16, Woodward, Bob wrote:
An interesting note is using the OCONV(IDATE,'D-YMD[2,2,2]') format, the
dash can be replaced with the digits 5 to 9 but using the digits 0 to 4
result in an output delimited with a space. Would have been acceptable
(and nice) to have been able to get
Users List u2-users@listserver.u2ug.org
Sent: Mon, Mar 11, 2013 11:22 am
Subject: Re: [U2] ISO Date Format
What? It's 2013 already? ! ! ! ? !
Why didn't someone tell me?
I set my clock ahead yesterday and everything.
On 3/11/2013 1:10 PM, Woodward, Bob wrote:
With a couple of corrections, yes
D-YMD
John W Hatherill
Programmer / Analyst
Harrington Industrial Plastics
-Original Message-
From: Jeff Schasny [mailto:jscha...@gmail.com]
Sent: Monday, March 11, 2013 6:57 AM
To: U2-Users@listserver.u2ug.org
Subject: [U2] ISO Date Format
Has anyone come up with an OCONV string
15 matches
Mail list logo