Simon,

do you not use an explicit conversion code when you ICONV, e.g
"D/DMY[2,2,2]" for "dd/mm/yy"?

John Appleyard
Arthur J. Gallagher (UK) Limited




                                                                                       
                                                 
                      "Simon Carter"                                                   
                                                 
                      <[EMAIL PROTECTED]         To:      <[EMAIL PROTECTED]>          
                                 
                      CO.UK>                          cc:      (bcc: John 
Appleyard/BSDUK/AJG)                                          
                      Sent by:                        Subject: [U2] Quirk of 
Uniobjects?                                                
                      [EMAIL PROTECTED]                                                
                                           
                      er.u2ug.org                                                      
                                                 
                                                                                       
                                                 
                                                                                       
                                                 
                      16/08/2004 15:28                                                 
                                                 
                      Please respond to                                                
                                                 
                      u2-users                                                         
                                                 
                                                                                       
                                                 
                                                                                       
                                                 




Hello all,

Has anyone else found the following, or am I missing something obvious
here?

I've been working on some VB6 code running uniobjects (v5.2, as is the
version of Unidata/NT), and had the need to pass a date out to a
unibasic subroutine called via the subroutine object. Said subroutine
does a little bobbing about with the passed date, and then constructs a
further date (sort of day:"/":month:"/":year construct), which is then
ICONVed and returned to the VB program. The problem that I found was the
the ICONV in the databasic returned an internal date as though the
originally constructed date was in MM/DD/YY (American) format, although
being in the UK we use the European DD/MM/YY format, as specified in the
DATE.FORMAT verb (on the server, and also executed as part of the
login).

Is this correct? Have I missed something?

Thanks for any replies.



Simon Carter
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to