mirror of
https://github.com/xiaozhou233/RiverWaterQualityMonitoring.git
synced 2026-12-05 13:05:53 +08:00
4 lines
101 B
Python
4 lines
101 B
Python
from datetime import datetime
|
|
|
|
def timenow():
|
|
return datetime.now().strftime("%Y-%m-%d %H:%M:%S") |