Subject | DATE and TIMESTAMPS in UDFs?? |
---|---|
Author | hannes@dwscript.com |
Post date | 2001-09-18T11:25:44Z |
hello IB developers,
is there anything changed with the internal format
of DATE or TIMESTAMP of 'now' and 'today'?
I tried the f_year('TODAY') function of my old UDF and got
unbelievable results. the same with Greg Daetz's new FreUDFlib.
Age of persons in
computed (f_Year('TODAY') - f_year('BDate'));
returns values like 24548 years :-)
not very many of my customers have really lived then :-)
hannes hernler
--------------------------------------------------------
DWS - Delphi Web Script
developing professional web apps
look at http://www.dwscript.com
--------------------------------------------------------
is there anything changed with the internal format
of DATE or TIMESTAMP of 'now' and 'today'?
I tried the f_year('TODAY') function of my old UDF and got
unbelievable results. the same with Greg Daetz's new FreUDFlib.
Age of persons in
computed (f_Year('TODAY') - f_year('BDate'));
returns values like 24548 years :-)
not very many of my customers have really lived then :-)
hannes hernler
--------------------------------------------------------
DWS - Delphi Web Script
developing professional web apps
look at http://www.dwscript.com
--------------------------------------------------------