F
feorges
Hi,
in a module i want to calculate the age of a person , When a person is less
than 1 year, i will count the months.
My problem is that on user will gives dates in european format (dd-MM-yyyy)
and the code alwayes calculate in american notation with a mismatch as
result. A person which is born on 05-01-2010 (dd-MM-YYYY) will be born in
code on the first of mai (MM-dd-yyyy). in this example the peron is must one
year and 3 months, in code he wil be less than one year and he is only 11
months old.
How i can solve this problem ?
kindley regards Georges
in a module i want to calculate the age of a person , When a person is less
than 1 year, i will count the months.
My problem is that on user will gives dates in european format (dd-MM-yyyy)
and the code alwayes calculate in american notation with a mismatch as
result. A person which is born on 05-01-2010 (dd-MM-YYYY) will be born in
code on the first of mai (MM-dd-yyyy). in this example the peron is must one
year and 3 months, in code he wil be less than one year and he is only 11
months old.
How i can solve this problem ?
kindley regards Georges