在mysql中可以使用str_to_date函数将verchar转为时间类型,该函数的语法是“Str_to_date(col.pattern)”,其中参数col为需要格式化的字段或内容。
技术文章 / 下载软件趣味内容 / 专业带飞