time_format
Convenience function
def time_format(
value: any,
format_string: string
) - > string
Convenience function
Parameters
| Name | Type | Description |
|---|---|---|
| value | any | The input time value to be formatted, typically a datetime object or timestamp |
| format_string | string | The template string defining the desired output structure for the time value |
Returns
| Type | Description |
|---|---|
string | The formatted time string based on the provided format pattern |