The PM name for a given locale.

Name = SRP_Time("PmName", NameLength = "Full", Locale = "")

Returns

The cultural specific name for PM.

Parameters

ParameterDescription
NameLengthHow the name is to be returned: options are "Full" or "Abbreviated". (OPTIONAL)
LocaleA locale for culture specific names. (OPTIONAL)

Remarks

The "PmName" service retrieves the cultural specific name for PM. The value returned depends on two factors: NameLength and Locale. NameLength can be on of two options: "Full" returns the longest PM name used in that culture and "Abbreviated" returns the culture's PM abbreviation. Locale is the locale name used to target a specific language.

Here is a sample of possible return values. The top row is the Locale value and the left column is the NameLength value:


en-USes-MXfr-CA
FullPMp. m.p
Abbreviatedppp

Examples

// Get the PM name in the local culture
Name = SRP_Time("PmName")

// Get the abbreviated PM name in the local culture
Name = SRP_Time("PmName", "Abbreviated")

// Get the abbreviated PM name in Spain
Name = SRP_Time("PmName", "Abbreviated", "es-ES")
  • No labels