I need to handle dates and times in a vb.net program. If there is a data type to handle that please let me know how to work with it. that class should have capability to compair, increase, decrease, add, substract and support to ms access date and time data type.
thilinam
0
Light Poster
Recommended Answers
Jump to Postmaybe this can help you lets say you want the subtract from two dates and then get the days.
DateTime dt = some date
TimeSpan ts = DateTime.Now - some date;
ts.Days // return the dayswell any way you can find a lot information here
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.