SAP Knowledge Base Article - Public

2793882 - Date of Birth Input 2 digit year format to 4 digit year format conversion

Symptom

Symptom What happens when I only input 48 or 49 as the Year for Date of Birth?   Reproducing the Issue: Navigate to a user Input the Birthday as MM/DD/YY (05/16/48) Input the Birthday as MM/DD/YY (05/16/49)   Result: The system will derive the Date of Birth as May 16, 2048 and May 16, 1949   Why is 2048 for 48 and 1949 for 49?

Environment

SuccessFactors

Employee Central v2

Reproducing the Issue

Navigate to a user's Biographical Information porlet.

Input in field Date of Birth as MM/DD/YY (05/16/48)

Input in field Date of Birth  as MM/DD/YY (05/16/49)

Result: The system will derive the Date of Birth as May 16, 2048 and May 16, 1949

Resolution

The behavior which you have mentioned is expected behavior.

 

You must be aware of year 2000 problem famous as Y2K problem.

 

Prior to year 2000 all the hardware and software used to represent dates in 2 digit format.

 

To solve this problem we started considering century into consideration for conversion of 2 digit year to 4 digit year format.

 

Years represented in 2 digit format can range from 1950 to 2049. A value of 49 or less will be interpreted as occurring in the 21st century

 

For example:

Assuming you are processing now (2019) then your date will be treated as such, when using default conversion:

If the last 2 digit of the year is between 00 and 48 then the first 2 digits are the same as the current year (20xx)

If the last 2 digit of the year is between 49 and 99 then the first 2 digits are 1 less than the current year (19xx)

To prove the theory use data of:

1/31/1748- should result in 2048
1/31/1850 - should result in 1950

In case you would like to change this behavior it would require code change / enhancement request.

Please see KBA 1515837 “How To: Enhancement Request Process – Idea Place

See Also

References:

https://en.wikipedia.org/wiki/Year_2000_problem

http://collaboration.cmc.ec.gc.ca/science/rpn/biblio/ddj/Website/articles/DDJ/1998/9805/9805a/9805a.htm

https://docs.ntpsec.org/latest/rollover.html

Keywords

date of birth, 2 digit year format conversion , KBA , LOD-SF-EC-PER-BIO , Biographical Info - Config, Rules, RBP, UI , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core 1905