>Hi,
>
>How do you handle date/time values in C#.NET. in vb6 i used to convert values to double so that i can do very fast arithmetic on date/time values...
>
>i also store them in double format in the database.
>
>thanks
>
>
>Paolo
You can do fast arithmetic w/o doing a conversion to double (their internal representation is already a double). Store them as datetime.
PS: A datetime is a long representing ticks (100 nanoseceond units) since 1/1/0001 12:00AM.
Cetin