This documentation supports the 11.2 version of BMC Discovery.

To view an earlier version of the product, select the version from the Product version menu.

time.formatLocal

time.formatLocal(datetime [, format ])

Formats an internal datetime object into a human-readable string.With no format specification, the default BMC Discovery time representation is used. If given, the format specification is a string containing special tokens that expand to formatted parts of the date and time. The format is specified as in Python's time.strftime function. The formatLocal function converts the time into the appliance's timezone and daylight savings setting. To perform no timezone conversion, use the time.formatUTC function.

Was this page helpful? Yes No Submitting... Thank you

Comments