VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

GetDaysInMonth

Cux  (1 Submission)   VB function enhancement   Visual Basic 5.0   Beginner   Wed 3rd February 2021

'This function will use the computers clock to retrive the days in any month, including leap years.
'If you use this code then please leave your comments or even vote if you have time..

Inputs
'The are only two inputs one of which is optional. 'The First Is ValMonth which is the month you want to get the days for. 'The second is the year, if not obmited then the current year is used.

Assumes
'This code is in a function, if you are not sure about functions then please read about them before using this code.

Returns
'The days in the month specifyed

Side Effects
'None that i know about, and there souldnt be any

Rate GetDaysInMonth (3(3 Vote))
GetDaysInMonth.bas

GetDaysInMonth Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters