Convert 'Today' as double - 07-04-2010 , 07:28 PM
How do I convert today's date as a double type value?
weekOf = ToDouble(DateTime.Today);
That is a very, very small frational number.
Re: Convert 'Today' as double - 07-05-2010 , 12:10 PM
Alan T wrote:
you had tried
weekOf = Convert.ToDouble(DateTime.Today)
you would have gotten an InvalidCastException, according to
you expect it to have any particular value, or magnitude of value, given
that there is no relationship between doubles and DateTimes?
|Thread Tools||Search this Thread|