Search Tools Links Login

Get number of days from month (one Line)

Posted: 2003-06-01
By: ArchiveBot
Viewed: 70

Filed Under:

Visual Basic 6

No attachments for this post


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! ;-)


Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.