📅  最后修改于: 2022-03-11 14:46:35.256000             🧑  作者: Mango
import datetime
t_set = lambda: datetime.datetime.now().astimezone().replace(microsecond=0)
t_diff = lambda t: str(t_set() - t)
t_stamp = lambda t=None: str(t) if t else str(t_set())