Custom Date Formats
You can use a series of tokens in the format argument to define a custom format for a date. Siebel VB replaces each token in the output string with an appropriate corresponding value.
The following table describes the tokens that you can use.
Token | Output |
---|---|
c |
The equivalent of the format ddddd ttttt. |
ddddd |
The current date, including the day, month, and year according to the current Short Date setting of the computer. The following format is the default Short Date setting for the United States: m/d/yy |
dddddd |
The current date, including the day, month, and year according to the current Long Date setting of the computer. The following format is the default Long Date setting for the United States: mmmm dd, yyyy |
ttttt |
The current time, including the hour, minute, and second using the current time settings of the computer. The following format is the default time setting for the United States: h:mm:ss AM/PM |