Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date

Status
Not open for further replies.

mayu03

Programmer
Oct 3, 2003
91
US
I have a field datatype timestamp.
Data in that fields looks like this :
0x0000000000000093
How do I convert this data to see a real date?
 
I don't believe that you can do that conversion...search this forum for timestamp...because i know i've seen it talked about before..

dlc
 
Timestamp has a misleading name, this is NOT date data. from Books ONline:
"timestamp is a data type that exposes automatically generated binary numbers, which are guaranteed to be unique within a database. timestamp is used typically as a mechanism for version-stamping table rows. The storage size is 8 bytes.

Remarks
The Transact-SQL timestamp data type is not the same as the timestamp data type defined in the SQL-92 standard. The SQL-92 timestamp data type is equivalent to the Transact-SQL datetime data type."

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top