anony,
What specifically do you mean by "its 13 digit numeric value"?
Especially consider that a DateTime has more then 13 "digits" of data...
(there are 21 "digits" of data...
You could possible use DateTime.ToString to convert the elements of a
DateTime to a string in the format you desire.
Dim value As DateTime = DateTime.Now
Debug.WriteLine(value.ToString("yyyyMMddHHmmssffff fff"), "now")
For details on custom datetime formats see:
http://msdn.microsoft.com/library/de...matstrings.asp
For information on formatting in .NET in general see:
http://msdn.microsoft.com/library/de...ttingtypes.asp
Hope this helps
Jay
"anony" <no**@m.com> wrote in message
news:0Z********************@tornado.tampabay.rr.co m...
Hi,
If I have a datetime, how do I display it as its13 digit numeric value?
Thanks.