This is a somewhat late reply, but hopefully you'll enjoy it even more then
We have built a couple of date-routines that you might like.
Amongst others we have DateDiff and DateAdd routines where the developer can choose to use year, month, day, hour etc. for calling.
All routines use Date/timestamps in DB2-format for input and output exept the two routines TStoDatabase and DatabaseToTS than convert formats.
Drop us a line if you are interested.
quote:
Originally posted by nelc
[br]Hi All,
Need to calculate a duration field, (end date) - (start date).
Result required to be in months.
Couldn't find any appropriate functions to apply.
Anyone can advise?
Thanks in advance!
B. Sorensen,
Optico IT ApS