VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



EndOfMonth

by Newsgroup Posting (15 Submissions)
Category: Math/Dates
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

Last day of the month
Calculates the last day of the month.
"Jim Doherty"

Rate EndOfMonth

Function EndOfMonth (D As Variant) As Variant
 EndOfMonth = DateSerial(Year(D), Month(D) + 1, 0)
End Function

Download this snippet    Add to My Saved Code

EndOfMonth Comments

No comments have been posted about EndOfMonth. Why not be the first to post a comment about EndOfMonth.

Post your comment

Subject:
Message:
0/1000 characters