Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Nov 30th, 2005, 5:13 PM   #1
Ghost
Man Bear Pig Hunter
 
Ghost's Avatar
 
Join Date: Jul 2005
Location: NorCal, USA
Posts: 311
Rep Power: 4 Ghost is on a distinguished road
Counting the Days....

Hey, I was wondering if one of you wiser people could help me with a little problem I'm having. I need to be able to count the days that are between any two given dates, here is what I had, and it's wrong.
TimeSpan daysApart = PopupCalendarEndDate.SelectedDate.Subtract(PopupCalendarStartDate.SelectedDate);

Thanks a lot.

Figured all of it out.
--Closed--

Last edited by Ghost; Nov 30th, 2005 at 5:32 PM.
Ghost is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:19 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC