获取当前时间可以使用 now() 或 utcnow() 方法,其中, now() 用于获取当地时间,而 utcnow() 用于获取UTC 时间。 >>> from datetime import datetime >>> ...
確定! 回上一頁