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
To long from DateTime:
long DateTime.Ticks
To DateTime from long:
new DateTime(long)