FlyBoy Posted September 13, 2004 Posted September 13, 2004 is there anyway to substract two dates..for e.g dim dt as date dt.adddays(1).substract(date.now) and to get a days result...i mean if dt.adddays(1) will result 13.9.04 so after the substract i want to get : 1 day. and not the date. any idea how? 10x in advance. Quote
Administrators PlausiblyDamp Posted September 13, 2004 Administrators Posted September 13, 2004 Use a TimeSpan like the example I showed in your other thread The timespan has a .Days property that will be the number of days. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
FlyBoy Posted September 13, 2004 Author Posted September 13, 2004 Use a TimeSpan like the example I showed in your other thread The timespan has a .Days property that will be the number of days. yo 10x again!!!! bahh...looks like i need to get used to MSDN! i hate msdn since its very coarse Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.