I want to store dates as numbers in a table. I know how to do that but I don\'t know how to go back. How can I cast a long variable to ToDateTime.
DateTime n
use the pair long t = now.Ticks and DateTime Today = new DateTime(t)