format
Convenience function
def format(
value: datetime|date|time,
format_string: string
) - > string
Convenience function
Parameters
| Name | Type | Description |
|---|---|---|
| value | `datetime | date |
| format_string | string | The format pattern string determining how the date or time should be displayed |
Returns
| Type | Description |
|---|---|
string | The value formatted as a string according to the specified format pattern |