"Ben Morrow" <
b...@morrow.me.uk> wrote in message
news:1hdoe9-...@anubis.morrow.me.uk...
>
> IMHO it's better to just go with DateTime.
Thanks for the information.
I myself just created two Perl subroutines from some True Basic code
that will also do this. The first translates dates into a single number
that can be added to other numbers that have that format. And the final
number can then be decoded back to year and month etc. by the second
subroutine. Together they represent about 50 lines of code.
I am planning to try to post that code to this Newsgroup after the
subroutines have been running for a while and they look like they are not
making any mistakes. However, I learned how to program years ago using
Fortran and Basic. So, the code will probably not look very attractive to
Perl programmers. People can make any adjustments they wish to the code
before using it.
However, if those Perl routines people mentioned are easier to use
then I am planning to use them instead for my own applications.