Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个混合日期格式的 Excel 表。像 15-05-81 和正常的日期时间格式 11/07/1990 00:00:00 ..当我将 thses 导入数据库时,非日期格式给我一个空值。有什么格式我可以转换文本日期到日期时间格式?
谢谢你 !
尝试这个:
这会将“11-07-90”转换为“11/07/90”。
如果要转换的日期也有错误的顺序,您可能会遇到问题(即 dd-mm-yy 会导致 dd/mm/yy 错误,标准格式为 mm/dd/yy)。