Speaking  of  ICONV,  anyone noticed that `DWx' conversions are fubar.
   For  example,  the  `W'  token  gets  ignored  on  ICONV and you can't
   reciprocally  ICONV  the  day  name  of  week as below using DWA. Also
   converting  oconv/iconv  using `DW' (leaving the `A'/'B' off) converts
   the  day of the week to the day of January, current year. e.g. Tuesday
   gets  turned  into  Monday  2^nd  Jan where with the `W' token I would
   expect  it  to  convert  to  maybe convert to the first Tuesday of the
   year.

   This,  along  with  my other gripe of not easily handling ISO standard
   dates  (yyyy-mm-ddTHH:mm:ssZ)  it  seems  like an incompleteness to an
   otherwise excellent function.

   Stuart

   X = OCONV(DATE(),'DWA')

   Y = ICONV(X,'DWA')

   Z = STATUS()

   CRT X,'>':Y:'<',Z                                 ;* =>   TUESDAY_><_1

   X = OCONV(DATE(),'DW')

   Y = ICONV(X,'DW')

   Z = STATUS()

   CRT  X,'>':Y:'<',Z,OCONV(Y,'DWDMBYL')  ;*  =>   2_>13882<_0_Mon 02 Jan
   2006

   END

   ______________________________________________________________________

   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]  On Behalf Of "Ray Wurlod"
   <[EMAIL PROTECTED]>
   Sent: Sunday, 11 June 2006 07:57
   To: [email protected]
   Subject: Re: [U2] UniVerse Internal Date Blackout

   See http://www.pickwiki.com/cgi-bin/wiki.pl?Date_Conversion_With_ICONV
   for  a  discussion  of  how  ICONV  deals with wholly numeric external
   dates.
   -------
   u2-users mailing list
   [email protected]
   To unsubscribe please visit http://listserver.u2ug.org/

   **********************************************************************

   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/

Reply via email to