Friday, March 23, 2012

FILETIME to DBDATETIME

Does anyone know the proper way to convert a FILETIME structure (the kind yo
u
receive in a WIN32_FIND_DATA structure) to a DBDATETIME structure?
ThanksTry this url:
mk:@.MSITStore:C:\Archivos%20de%20program
a\Microsoft%20SQL%20Server\80\Tools\
Books\repospr.chm::/rpusingodbscan_87n6.htm
Current location: Alicante (ES)
"Michael C" wrote:

> Does anyone know the proper way to convert a FILETIME structure (the kind
you
> receive in a WIN32_FIND_DATA structure) to a DBDATETIME structure?
> Thanks|||Huh?
I tried the link (converted to english and pulled up repospr.chm), but no
luck finding rpusingodbcscan_87n6.htm.
Let me be a little bit more specific in my request. I need a way - in
unmanaged C/C++ - to convert a FILETIME structure to a DBDATETIME structure.
Although I'm using C++, I can pretty easily convert possible solutions from
most other languages.
I am using the dblib interface. ODBC and OLE DB are not options.
What I need is a mathematical formula of some sort that will perform the
conversion, similar to converting from Celsius to Fahrenheit. Either that,
or some conversion API routines (dbconvert will not do the trick).
Thanks.
"Enric" wrote:
> Try this url:
> mk:@.MSITStore:C:\Archivos%20de%20program
a\Microsoft%20SQL%20Server\80\Tool
s\Books\repospr.chm::/rpusingodbscan_87n6.htm
> --
> Current location: Alicante (ES)
>
> "Michael C" wrote:
>sql

No comments:

Post a Comment