I am really new to C# and I am having problem in converting DateTime to it’s Integer date format. I have search already the net but I did not find my answer.
I want is to convert the current Date to integer.
Example the date “2011-08-11” in format “yyyy-MM-dd” has an integer value of 734360
Pervasive uses days since 1/1/1.
To convert from int to a date use
To convert to an int from a date use