Using a 12 Hour Format

The following table describes the tokens that you can use that use a 12 hour format. Siebel VB uses a 24 hour format, by default.

Token Output

AM/PM

This token displays the following formats:

  • An uppercase AM with any hour that occurs before noon.

  • An uppercase PM with any hour that occurs between noon and 11:59 PM.

am/pm

This token displays the following formats:

  • A lowercase am with any hour that occurs before noon.

  • A lowercase pm with any hour that occurs between noon and 11:59 PM.

A/P

This token displays the following formats:

  • An uppercase A with any hour that occurs before noon.

  • An uppercase P with any hour that occurs between noon and 11:59 PM.

a/p

This token displays the following formats:

  • A lowercase a with any hour that occurs before noon.

  • A lowercase p with any hour that occurs between noon and 11:59 PM.

AMPM

This token displays the following formats:

  • The contents of the 1159 string (s1159) in the WIN.INI file with any hour that occurs before noon.

  • The contents of the 2359 string (s2359) with any hour that occurs between noon and 11:59 PM. Note that ampm is equivalent to AMPM.