Get Number of Days in a Month Using the DateSerial Function

Category:
Dates and Math
Type:
Snippets
Difficulty:
Beginning
Author:
Toby Herring

Version Compatibility:

More information:
This tip requires use of the intrinsic DateSerial function, and will therefor only function in versions of VB that utilize this function.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: