I'm new with VB and I need to write a code that will calculate days starting from a start date (x), adding (y) days per month till the present date (z), subtracting given days (i) and finally giving remain days (j). Can anyone please given some examples.
mevanga
0
Newbie Poster
Recommended Answers
Jump to PostIs this a school project ?
If so how far have you got ?
Jump to PostI'm new with VB and I need to write a code that will calculate days starting from a start date (x), adding (y) days per month till the present date (z), subtracting given days (i) and finally giving remain days (j). Can anyone please given some examples.
u can use …
Jump to PostMy apologies - the post sounded like a school project. Where are the dates and day coming from, fileds, forms, etc? What are you going to do with result, display or store in a field ?
I'll try and suggest some code this evening.
All 10 Replies
DenisOxon
12
Posting Whiz
wavalker
0
Newbie Poster
mevanga
0
Newbie Poster
DenisOxon
12
Posting Whiz
mevanga
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
mevanga
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
mevanga
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
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.