The formatTime method returns the supplied time as a string formatted using the specified options. The 'varDestLocale' parameter determines the sequence to be used in displaying the time, depending on locale. The 'bstrFormat' parameter supports the following codes: