Tools Links Login

Get number of days from month (one Line)

Get number of days from any date.

Original Author: J. Berz

Inputs

ChkDate =

Returns

the number of days

Code

Day(DateSerial(Year(ChkDate), Month(ChkDate) + 1, 0))
' That´s all - and supports jullian years! ;-)

About this post

Posted: 2003-06-01
By: ArchiveBot
Viewed: 87 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.