Tools Links Login

DateValidation

In general this is a function, that validates an entered date. It sets the output-date one day after the input-date and verifies if there is a month or year-break and even handles leap-years.
I made it because I needed a way to point dates where the end can't be before the beginning, which may happen thru bad inputs. In this way the end-date is always in the future of the beginning-date.

Original Author: Nico Ecke

Inputs

The function accepts dates only. This could be the first day of your hollidays!

Assumptions

In this archive is a complete vb6-project. The function itselve is in the 'DateValidation'-Module and can be completely extracted. The form is just an example how it works.
I've done a bit commenting. I think it should be enough.

Returns

The function returns a date-value. In this case the last day of your hollidays!

Side Effects

not known

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 80 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD1266412132000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 3,191 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.