开发者社区 问答 正文

python中的Faker库中的past_datetime()和date_time方法的作用是什么?

python中的Faker库中的past_datetime()和date_time方法的作用是什么?

展开
收起
游客daliwbfb2wo66 2021-12-04 15:38:42 387 分享 版权
1 条回答
写回答
取消 提交回答
  • 1.python中的Faker库中的past_datetime()方法的作用是随机生成已经过去的时间

    2.date_time方法的作用是生成公元1年到现在的随机时间。

    2021-12-04 15:39:03
    赞同 展开评论