SAP Knowledge Base Article - Public

3632459 - Business rule to change the date format in document generation template as today's date

Symptom

  • How to change the display format of Date in document generation template
  • Example, change date format from 11/02/2020 to 11 Feb,2020 or Feb 11, 2020 or 11-02-2020 in document generation template

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Create a new document template to display current date (refer KBA: 2877407)
  2. Generate document for an employee
  3. Notice the date format in the document template is as per the language preference selected (refer KBA: 2730729)

Cause

Resolution

  1. If you want to have the date format as July 16, 2025, you can configure the rule as below
    Pasted image.png
  2. If you want to have the date format as 16-07-2025, you can configure the rule as below:
    DD-MM-YY.png

Keywords

document generation, date format, business rule, today date, YYYYMMDD, DD-MM-YYYY, as of today, as of date , KBA , LOD-SF-EC-DOC , Document Generation , How To

Product

SAP SuccessFactors Employee Central all versions

Attachments

Pasted image.png