2421365 - Date format in Notification - Onboarding

SAP Knowledge Base Article - Public

2421365 - Date format in Notification - Onboarding

Symptom

  • I'm using {WOTCStartDate} in notification content. Date is coming in US format. I need UK date format in notification.
  • How do i change the date format in notification

Environment

Onboarding
All data centers

Resolution

Following construction can be used directly in the notification to explicitly update format.

{WOTCStartDate, formatdate=long, locale=es-ES}- Month in Spanish (Ex: Abril 14,2016)

{WOTCStartDate, formatdate=mediumNoYear, locale=es-ES}- Date without year (Ex: Abril 14)

The 1st in the constructor is the Data key. 2nd is the date format. 3rd is the locale. Below is the screen shot from the super admin site where the date format is defined.

KBA-Locale-Date.jpg

Please change the locale information to get the format in that particular locale.

{WOTCStartDate, formatdate=long, locale=en-GB}- Month in Brtish english (Ex: April 14,2016)

{WOTCStartDate, formatdate=mediumNoYear, locale=en-GB}- Date without year (Ex: April 14)

Keywords

Date format
Locale
Notification , KBA , LOD-SF-OBD-EML , Emails and Notifications , How To

Product

SAP SuccessFactors Onboarding 1608