Get current time: '2023-12-02 13:01:23' :return:
()
| 36 | |
| 37 | |
| 38 | def get_current_time() -> str: |
| 39 | """ |
| 40 | Get current time: '2023-12-02 13:01:23' |
| 41 | :return: |
| 42 | """ |
| 43 | return time.strftime('%Y-%m-%d %X', time.localtime()) |
| 44 | |
| 45 | def get_current_time_hour() -> str: |
| 46 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected