I haven't worked with the TimeSpan object before. So bare with me if
this seems like a newb question. But if I wanted to know how many
days from the current date until 2/4/2008. I have written this much
code so far.
DateTime startDate = new DateTime("2008-02-04");
DateTime curDate = DateTime.Now();
TimeSpan ts = startDate.Subtract(curDate);
Now I get lost. I was expecting to find a Days property off of the
TimeSpan object. No such luck. Where am I going wrong?
Thanks,
Kelly Greer
ke*********@nospan.com
change nospam to yahoo