On Universe the help for conversion code "DI" only specifies using DI on it's 
own without any trailing options (the help for the usual "D" however shows all 
the various additional options).

I've tried your example and it didn't work at all - nothing was displayed. I 
tried changing DIMDY to just DI and 15373 was displayed (15373 = 01 Feb 2010).

Note: in your example 15343 = 02 Jan 2010.

Normally we run the DATE.FORMAT command when logging into an account (making 
dates display with the month in the middle).
In this case using ICONV with "DI" the output is 15343 (the same as yours).


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Bill Haskett
Sent: Wednesday, 10 February 2010 1:48 PM
To: U2 Mail List
Subject: [U2] UniData ICONV function

The following works in UniData:

DD = '01'
DM = '02'
DY = '2010
CRT ICONV(DM:'-':DD:'-':DY, 'DIMDY')

...returns '15343'.

Does this work in UniVerse?

Bill
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to