不挂科搜题免费

问题:

在Python中,以下哪个选项可以用于将字符串格式化为日期?( )

选项

  • date2str()

  • str2date()

  • format_date()

  • dateformat()

  • 答案:

    B