Format the instance as date. :rtype: str
(self)
| 87 | # String Formatting |
| 88 | |
| 89 | def to_date_string(self) -> str: |
| 90 | """ |
| 91 | Format the instance as date. |
| 92 | |
| 93 | :rtype: str |
| 94 | """ |
| 95 | return self.strftime("%Y-%m-%d") |
| 96 | |
| 97 | def to_formatted_date_string(self) -> str: |
| 98 | """ |
no outgoing calls