📅  最后修改于: 2022-03-11 14:49:20.299000             🧑  作者: Mango
import datetime
# str value "Apr 2, 2019" convert into any format.
datetime.datetime.strptime('Apr 2, 2019', '%b %d, %Y').strftime('%a, %d %b %Y')