Dec 092017
 
C++ function to validate a UnFormatted date string.

Full Description of File


Chkdate (Program One, Inc.; $0) is a
function for C++ programmers that
validates unformatted date strings.
This function will also recognize
leap years.


File CHKDATE.ZIP from The Programmer’s Corner in
Category C++ Source Code
C++ function to validate a UnFormatted date string.
File Name File Size Zip Size Zip Type
CHKDATE.CPP 1367 524 deflated
FILE_ID.DIZ 161 128 deflated
README.TXT 658 380 deflated

Download File CHKDATE.ZIP Here

Contents of the README.TXT file


Chkdate (Program One, Inc.; $0) is a
function for C++ programmers that
validates unformatted date strings.
This function will also recognize
leap years.

CHKDATE.CPP
-----------

This is a simple function to validate a UnFormatted date string. It
does reconize Leap year. On Feburary 29, 1988 it would of returned a
TRUE. For this date is Valid. But on Feburary 29, 1992 it would of
returned a FALSE for this date is NOT valid.

The demonstration program does nothing to take out the '/'. The
function will not work properly if the date string contains the
'/' character. You must find a way to do this in your programs.

I hope that this function will help you out. It proved to be very
valuable in our programming experince.

Program One, Inc.
Compuserve 75570,1116


 December 9, 2017  Add comments

Leave a Reply