Skip to main content

Determining date / time display preference

By default, Bravura Security Fabric displays date and time to users as follows:

  • On request-detail pages and in emails, the date and time are displayed based on the (Windows) regional settings for the psadmin user on the Bravura Security Fabric server.

  • In HTML date/time widgets, the date and time are displayed by default in the format:

    YYYY-MM-DD HH:mm

To add time zone information, so that date and time are displayed as:

YYYY-MM-DD HH:mm (UTC+/-HH:mm)

enable the DISPLAY TIMEZONE option (Manage the system > Modules> Options).

To set a default timezone, enter the when determining current date and displaying time, enter the timezone description (e.g. 'Eastern Standard Time') in Manage the system > Maintenance > Options .

Bravura Security Fabric can also display the date and time based on individual users’ preferences. Users set their preferences using the following profile and request attributes, which a product administrator must add in the Manage the system (PSA) module:

PREFERRED_DATEFORMAT A string representing the date format. The character combinations that you can use in the string and their meaning are as follows:

Character combination

Meaning

d

Day of month as digits with no leading zero.

dd

Day of month as digits. Use a leading zero for single digit days.

ddd

Day of week as a three-letter abbreviation.

dddd

Day of week as its full name.

M

Month as digits with no leading zero.

MM

Month as digits. Use a leading zero for single digit months.

MMM

Month as a three-letter abbreviation.

MMMM

Month as its full name.

y

Year as last two digits with no leading zero.

yy

Year as last two digits. Use a leading zero for single digit years.

yyy

Year represented by full four or five digits, depending on the calendar used.

yyyy

Same as yyyy.

gg

Period or era string.

Character combinations are case-sensitive. Literal characters, except for white space, must be surrounded by single quotes. For example, If you want Bravura Security Fabric to display the date as:

Thu, Dec 31 09

use the following date format:

"ddd',' MMM dd yy"

PREFERRED_TIMEFORMAT A string representing the date format. The character combinations that you can use in the string and their meaning are as follows:

Character combination

Meaning

h

Hours on a 12-hour clock, with no leading zero.

hh

Hours on a 12-hour clock. Use a leading zero for single-digit hours.

H

Hours on a 24-hour clock, with no leading zero for single-digit hours.

HH

Hours on a 24-hour clock. Use a leading zero for single-digit hours.

m

Minutes with no leading zero.

mm

Minutes with leading zero for single-digit minutes.

s

Seconds with no leading zero.

ss

Seconds with leading zero for single-digit seconds.

t

One character time marker string, such as A or P.

tt

Multi-character time marker string, such as AM or PM.

Character combinations are case-sensitive. Literal characters, except for white space, must be surrounded by single quotes. For example, If you want Bravura Security Fabric to display the time as:

23:14

use the following date format:

HH':'mm

PREFERRED_TIMEZONE The name of the user’s preferred time zone.

The name must match one of the time zone keys stored in the Windows registry on the Bravura Security Fabric server; for example, Central Standard Time . These keys are listed under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones

The PREFERRED_DATEFORMAT, PREFERRED_TIMEFORMAT , and preferred_timezone profile and request attributes do not exist by default. You must create them before they can be set. It is recommended that you create these profile and request attributes, especially the preferred time zone, using restricted values to make configuration of their values easier for end users.

See also:

See Profile and Request Attributes to learn how to create profile and request attributes.

See Altering Text to learn how to modify or add text in multiple languages.