I have the following piece of code which starts the looking at year to date from Feb 1 instead of Jan 1. Download joe sample sample this rar software. I have made the change, however It doesn't account for leap years. How can I modify this code to ensure that it accounts for the leap years. I am relatively new in VB. IS there a built in function that does?
Leap Year Program In C
This snippet will handle all errors many people make when trying trying to determine a Leap Year. You can pass anything you like to this routine and if it is not a leap year then. Instructions: Copy the declarations and code below and paste directly into your VB project.