我使用 boto3 中的describe_snapshots 函数得到以下输出
u'StartTime': datetime.datetime(2017, 4, 7, 4, 21, 42, tzinfo=tzutc())
我希望将其转换为正确的日期,以便我可以继续对快照进行排序并删除早于特定天数的快照。
有没有可以用来实现这一点的Python功能?
python datetime boto3
boto3 ×1
datetime ×1
python ×1