By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,797 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

converting an SQL timestamp to/from a real date

P: n/a
In vb.net, is there anyway to convert a SQL timestamp field into a real
date. Also can I convert a real date into a SQL timestamp
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
A SQl Server timestamp column is not a date at all.

It is a binary representation of a number.

Cast it as int to see it's value.

"news.microsoft.com" <au****@aussie.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
In vb.net, is there anyway to convert a SQL timestamp field into a real
date. Also can I convert a real date into a SQL timestamp

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.