vikFinnegan
Programmer
Hi,
We've run into the following problem after migrating from Impromptu v6.1 to v7.0.
The calculation of the function 'years-between' differs in v6.1 from v7.0. When used in v6.1 it can be used to correctly calculate 'age' at a given date; in v7.0 the age calculation doesn't run correctly. Is this 'by design' or isn't it -- and if it isn't, might there already be a fix in v7.1 or v7.2?
Here's an example to clarify the difference:
We do the administration of students at all schools in our city. The students' ages range between 4 and 23. In our Oracle db the students' birth dates are stored in a datetime field. School years run from August until July -- i.e. the school year starts at the first of August.
We need to calculate ages from students at the start of year -- e.g.
should result in age 4. Both v6.1 and v7.0 correctly return this result. However, all birthdates later then the first of August will result in different ages in v6.1 and v7.0. For example,
should result in age 3. Impromptu v6.1 returns the correct result: age 3; Impromptu v7.0 however returns the -- wrong -- result: age 4.
Is this new behavior of the function years-between in v7.0 'by design' or isn't it -- and if it isn't, might there already be a fix in v7.1 or v7.2?
I hope you could help us out. Thanks in advance.
Vik
We've run into the following problem after migrating from Impromptu v6.1 to v7.0.
The calculation of the function 'years-between' differs in v6.1 from v7.0. When used in v6.1 it can be used to correctly calculate 'age' at a given date; in v7.0 the age calculation doesn't run correctly. Is this 'by design' or isn't it -- and if it isn't, might there already be a fix in v7.1 or v7.2?
Here's an example to clarify the difference:
We do the administration of students at all schools in our city. The students' ages range between 4 and 23. In our Oracle db the students' birth dates are stored in a datetime field. School years run from August until July -- i.e. the school year starts at the first of August.
We need to calculate ages from students at the start of year -- e.g.
Code:
years-between(17/04/1988;01/08/2002)
Code:
years-between(17/09/1988;01/08/2002)
Is this new behavior of the function years-between in v7.0 'by design' or isn't it -- and if it isn't, might there already be a fix in v7.1 or v7.2?
I hope you could help us out. Thanks in advance.
Vik