Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何获取当前的日期时间和结果是:“2019-03-05T08:22:01+07:00”我尝试阅读 date-fns 的文档,但我不明白如何像上面那样格式化当前的日期时间?我也尝试使用基本的 javascript 进行格式化,但结果没有?