Mobility date formats

Mobility fields that display dates use the MobDateUI field control to support date format localization.

Each date field in mobility uses one of these date formats:

  • MOB_SHORT_DATE

    The default date format is EEE MMM d, yyyy. For example, Wed Mar 3, 2020. Most dates in mobility use this format by default.

  • MOB_SHORT_DATE_TIME

    The default date format is EEE MMM d, yyyy hh:mmaa. For example, Wed Mar 3, 2020 3:34 am.

  • MOB_MONTH_YEAR_DATE

    The default date format is MMMMM yyyy. For example, March 2020. This format is used for fields that let you select a month and year, such as a time off request.

When configuring a date field in mobility, you are not limited to these date formats. You can use any date format defined in the system. Or you can specify a specific date format in the format parameter such as MMMMM d, yyyy.

For a list of date fields that you can configure, see Field-level security. For each date field, the default date format is indicated.

The MobDateUI field control can also be used in UDF fields. For example, you can configure the timesheet to show a UDF field as a date with the MOB_SHORT_DATE date format. See Configuring the field control of a UDF or FLAG field.

Non-fields

For date displays that are not associated with a field, you cannot change the date format that is used. Most of these dates use the MOB_SHORT_DATE date format by default, with these exceptions:

  • Last clock information in the Clock widget
  • Last clock information in the My Staff widget
  • Authorized/unauthorized messages in timesheet
  • Approval/rejection status of time attestation records in timesheet

All of these date displays use the MOB_SHORT_DATE_TIME date format by default.

To change the date format of non-fields, you must update the definition of the date format using the Date Formats page (Maintenance > System Administration > Date Formats). For example, you can change the format of MOB_SHORT_DATE for the Japanese locale.

Note: Changing the definition of a date format would change the date format of all fields and non-fields that use that date format.