Get years between 2 dates

Hi All,

I am trying to calculate the amount of years between a date of birth and todays date. I have no idea where to start with it so any help at all would be greatly appreciated.

Thanks

Comments


  • : I am trying to calculate the amount of years between a date of birth
    : and todays date. I have no idea where to start with it so any help
    : at all would be greatly appreciated.
    :

    Use the [b]getdate[/b] procedure from the Dos or WinDos unit to get the current date, then all you have to do is to calculate the years passed since the birthday...

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion