date?

plumage

Active member
Joined
Jul 12, 2004
Messages
38
Programming Experience
Beginner
example: if i want to calculate the date due for an item,how can i do it?

iszit possible to add current date to the no of days(for loan) to calculate the date due?

can anyone , pls help.thanks alot.
 

Aholics.com

Active member
Joined
Jun 15, 2004
Messages
27
Location
San Diego
Programming Experience
10+
Sure is. If your variable (say DT) is of type DateTime, you can apply some of these methods to it:

DT.AddDays(5)
DT.AddMinutes(20)
DT.AddHours(8)

...etc
 
Top Bottom