Re: ODBC dates
- Posted by Louis at cwshop.com Oct 02, 2003
- 463 views
Well, if you got {204,7,6,0,29,0} it would have made perfect sense to me.= In that case, the numbers are in low-high pairs, which is a common way to= store 16 bit numbers in a byte-addressable computer. 7*256+204=3D1996 0*256+6=3D6 0*256+29=3D29 Maybe the base date is not year zero. Louis. *********** REPLY SEPARATOR *********** On 10/2/2003 at 1:42 PM George Walters wrote: >I'm using Matt's ODBC wrapper and have a question about Data base dates. >The code below fetches a date as {201,7,6,0,29,0} > >when the database date is "1996-06-29"