Gidday Ray, > UniVerse has always behaved this way; ICONV(n, "D") where n is a digit in the range 1-31 yields a date in January of the current year. It is even documented (at least in the source code) as doing so. Therefore, and on this basis, Iconv(n, "DW") will ignore the "W".
In fact I think depending on your flavour, any 'plain' number will be regarded as an internal date. This is not at issue, however allowing the conversion of the literal string bWEDNESDAYb to the integer 3, or perhaps a date value which correlates with some significant Wednesday is. You can now convert bJUNEb to 1/6/2006 and I think that for consistency bDWAb [also DWB] should have similar behaviours to bDMAb. > There's probably an argument for an enhancement request. In the meantime the product does allow for user-defined conversions (user exits), so you do have a workaround. Yes, I have asked for an enhancement request for ISO date/time handling which has so-far been rejected, but if enough people need it then Ibm sure theybll budge. Yes, I have a workaround - see pickwiki.com/cgi-bin/wiki.pl?DateUtility Regards, Stuart ********************************************************************** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (+61 3 9269 7555) immediately, who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer related viruses. ********************************************************************** ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
