TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
wooi83
NA
18
0
convert timespan datedifferents to float or int values .. plzz
Apr 6 2004 3:49 AM
System.DateTime todaysDate = new System.DateTime(d.getYear(),d.getMonth(),d.getDay()); System.TimeSpan dateDiff = todaysDate - DateTime.Parse(e.ListItem.Value); dateDiff = 5.00:00:00 ---> means date differents is 5 days what im doing is trying to get current date and finds the different between the date in datebase. base on the date differences i wish to multiply the date with 2 in order to get the amount of money charged since the due. how to convert 5.00:00:00 <-- in order for me to multiply with float or int value ? pls help..
Reply
Answers (
1
)
Casting a Custom Class
form locking up when calling form.show() from another thread