>I looking for a function that I could call like the datediff in SQLserver
>
>lnResults=datediff(mi,datetime1,datetime2) -- Return Minutes
>lnResults=datediff(yy,datetime1,datetime2) -- Years
>lnResults=datediff(hh,datetime1,datetime2) -- Hours
>lnResults=datediff(mm,datetime1,datetime2) -- Months
>
>etc..
Can you give me an example (what is stored in each date-time value, what does datediff() return)? I don't know SQL Server.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)