Fusion Apps : OBIEE TIMESTAMPDIFF Gives Wrong Results

(Doc ID 2097355.1)

Last updated on JANUARY 16, 2016

Applies to:

Oracle Fusion Global Human Resources Cloud Service - Version and later
Oracle Fusion Application Toolkit - Version and later
Oracle Fusion Application Toolkit Cloud Service - Version and later
Information in this document applies to any platform.


OBIEE TIMESTAMPDIFF gives wrong results

Hi, customer wants to calculate average ages of people in the company. To calculate the age of a person I have to compare two dates, sysdate and birth date and I'm doing it by using TIMESTAMPDIFF-function:


Unfortunately that rounds the result. For example we have now a person with birthday 17.12.1952 so he's still 62 but OBI calculation says that he's already 63. That's wrong and if I use that to calculate average age for the whole personnel, I'll get wrong results.



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms