For example, yesterday, today, and tomorrow all return valid dates. Easter is a little trickier, so I use the code from the FT_Easter() function of the Nanforum Toolkit to determine the date that Easter falls on.
The calculation for deriving Easter was done by Donald Knuth in his books on algorithm.
If you look at the algorithm, you will conclude that Donald has way too much time on his hands!
While the second conversation is much more precise, it also is not very easy to do without a calendar in front on you.
Why do we then make our end-users enter dates in this fashion? ', then do not bother reading this article.) Clipper provides a wide variety of date functions and powerful date arithmetic.