Python3廖雪峯datetime轉timestamp練習題

#!usr/bin/env python3 # -*- coding:utf-8 -*- import re from datetime import datetime, timezone,timedelta def to_timestamp(dt_str,tz_str): dt=datetime.strptime(dt_str,'%Y-%m-%d %H:%M:%S')
相關文章
相關標籤/搜索