[Info-vax] check date against an given age
Mike Rechtman
mike at rechtman.com
Thu Nov 12 14:37:47 EST 2009
FrankS wrote:
> On Nov 12, 10:31 am, Mike Rechtman <m... at rechtman.com> wrote:
>> $ start = "28-Feb-2008 0:0:0"
>> $ end = "1-mar-2008 0:0:0"
>> $ dif = f$delta_time( start,end )
>
> Try it with dates that are more than about 27 years (or 9999 days)
> apart.
You're right! Didn't think of that.
$
$ start = "2-Sep-1943 0:0:0"
$ end = "12-Nov-2009 0:0:0"
$ age = f$delta( start , end )
%SYSTEM-F-IVTIME, invalid time
$
SMOP to workaround, though!
--
Mike R.
Home: http://alpha.mike-r.com/
QOTD: http://alpha.mike-r.com/php/qotd.php
No Micro$oft products were used in the URLs above, or in preparing this message.
Recommended reading: http://www.catb.org/~esr/faqs/smart-questions.html#before
More information about the Info-vax
mailing list