How can I take a long variable from Datetime.Now.Ticks and restore that
number into a datetime variable?
Similar to the sample below that doesnt work.
Dim i as long = Datetime.Now.Ticks
Dim dt as Datetime = CType(i, datetime)
Thanks
Ticks to DateTime
|