Overview
To make software easy to use in an international context, it’s important to apply consistent formatting rules to data. You can find data formatting guidelines here for date and time. For other data types, such as numbers or units of measurement other than date or time, please refer to Fiori Guidelines - Formatting Data.
Usage
Date Formats
You can choose from amongst several possible formats for date (e.g., short format, medium format, long format). See Fiori Guidelines - Formatting Dates. In general, the medium format is recommended, as shown in the following table. Place the month before the day:
English (US): Aug 7, 2021
Chinese (CN): 2021年8月7日
German (DE): 07.08.2021
English (US): 7 Aug, 2021
Chinese (CN): 8月7日2021年
German (DE): 08.07.2021
Time Formats
Fiori Guidelines include several different formats for time, ranging from longer formats to shorter formats. You need to choose whether the longer or shorter format works best in the context of your use case and your target user. In general:
- Longer formats are more conversational and work well when only one or a few dates need to be displayed. Prefer the longer formats for business-focused use cases, such as planning user tasks or activities, and for business users.
- Shorter formats, using abbreviations, work well when many values need to be displayed on the same screen. Prefer shorter, abbreviated formats for technical use cases, such as scheduling system processes, and for Admin/technical users.
Basic time format
To see the possible formats for time, refer to Fiori Guidelines - Formatting Time. Here's an example of how to use the medium format for time. Use a colon (:) to separate the different time units:
United States (US): 11:17:57 AM
Germany (DE): 11:17:57
China (CN): 上午11:17:57
Denmark (DK): 11.17.57
United States (US): 11.17.57 AM
Germany (DE): 11.17.57
China (CN): 上午11.17.57
Denmark (DK): 11:17:57
12-hour and 24-hour clock formats
Most English-speaking countries use the 12-hour clock (for example, the United States, India, and the United Kingdom). Non-English speaking countries use the 24-hour clock. Use capital letters for the abbreviations “AM” and “PM” with no period between the letters.
12-hour clock example:
Time zones
If you need to include the time zone, use the long time format (see Fiori Guidelines – Formatting Time - Long Format). All time zones are defined as offsets from Coordinated Universal Time (UTC), ranging from UTC−12:00 to UTC+14:00. The offsets are usually a whole number of hours, but a few zones are offset by additional 30 or 45 minutes, such as in India (with a time offset of UTC+05:30) and Nepal (with a time offset of UTC+05:45). Use the abbreviated form of the time zone in capital letters and place it in parentheses ( ). For example:
Combined Date and Time Format
When you combine date and time, use full formats to maximize readability for the user. Separate the date and the time with a comma ( , ). See Fiori Guidelines – Date and Time Picker.
Relative Time
Use relative time when you want to indicate the time at which an event should occur in relation to the current time. For example, “Schedule refresh in 30 minutes” indicates that the refresh will occur 30 minutes later than the current time.
For user-initiated actions, such as tasks, use conversational wording to replace units of time when the unit is equal to 1. For example, to specify a future deadline “in 1 day” from the present moment use “” instead of "1 day."
Refer to this table to see how to express relative time for a user action or task:
SAP Business Technology Platform apps and tools expose information about system processes to users. For these use cases, use numerical units to express relative time instead of the more conversational approach advocated in Fiori guidelines, where vocabulary like "tomorrow" and "in a minute" is used to address users of business applications. For example, to specify a future system refresh “in 1 day” from the present moment use "" instead of the more conversational “tomorrow.”
Refer to this table to see how to express relative time for a system process or event:
Time Periods or Duration
How you express time duration, depends on whether your use case covers a user action or a system process.
User Actions
For a user action, such as a task, express time units using the full form.
For a complete list of formats to use for time duration, see Fiori Guidelines - Durations.
System Processes
For a system process (for example, the duration of a query execution), express time units using abbreviations. Always use the singular form of the abbreviation.
For the complete list of abbreviations you can use for time duration, see SAP Style Guide for Technical Communication - Common Units of Measurement for Time.
Intervals of Time
Expressing an interval of time is necessary if your use case covers an activity or process that needs to be planned or scheduled to occur during a specific window of time. For example, planning a task or scheduling a system event.
Field labels:
Example
Use "Start Date" for when the task starts and "Due Date" for when the task ends.
Recurrence of Tasks or Events
Several use cases require the planification of events that need to be repeated over time. For example:
- the recurrence of a user task or activity (e.g., a meeting)
- the frequency of a system activity or process (e.g., data refresh)
The user needs to specify the recurrence or frequency of the event.
Terms for UI labels
Resources
Support
If you have any questions or feedback about this page, please contact our team. For further information and questions in regards to the Design System, please visit the DNA Design SharePoint.