CodeBase - D2N - date to number

Return to the CodeBase listing

Category: Complete Applications

Version: 1.0

0
0

Information

Uploaded: 12th Mar 2007 18:26

Modified: 1st Jan 1970 01:00

Author:  Vidiot

Summary

Converts string date to number. Format: mm/dd/yy

Full Description

This function converts a string date as might be supplied by the Get Date$() function into a numerical value so you can perform simple logic: >, <, or = on dats. For simplicity sake, it assumes each month has 32 days. Therefore doing addition or subtraction of these numbers with the intention of converting the result back to a date or number of days would yield false results.

Comments

No comments yet.