2022-02-19 文字列から日時への変換-Python Python import datetime value_string = '2022/2/19 14:00' value_datetime = datetime.datetime.strptime(value_string, '%Y/%m/%d %H:%M')