XML DOM » XTLRuntime » formatTime

Compability: Internet Explorer

Syntax:
xtlRuntime.formatTime(varTime, bstrFormat, varDestLocale)
varTime
This is the time to be formatted.
bstrFormat
This is the formatting to be applied. The time can be formatted using the codes in the bstrFormat Codes table.
varDestLocale
The 'varDestLocale' parameter determines the sequence to be used in displaying the time, depending on locale.

This method formats the supplied time using the specified formatting options.

The 'varDestLocale' parameter determines the sequence to be used in displaying the time, depending on locale. The 'bstrFormat' parameter supports the following codes:

bstrFormat Codes