select convert(char(20),getdate(),101)
select emp_id,convert(char(20),hire_dt,101) from employee
-----------------------------------------------------
日期格式代号
-------------------- -----------
04/05/2000101
-------------------- -----------
2000.04.05102
-------------------- -----------
05/04/2000103
-------------------- -----------
05.04.2000104
-------------------- -----------
05-04-2000105
-------------------- -----------
05 Apr 2000 106
-------------------- -----------
Apr 05, 2000 107
-------------------- -----------
11:33:24 108
-------------------- -----------
Apr 5 2000 11:33:24109
-------------------- -----------
04-05-2000110
-------------------- -----------
2000/04/05111
-------------------- -----------
20000405 112
以上就介绍了英文日期格式 数据库的日期格式转换,包括了英文日期格式方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
查看更多关于英文日期格式数据库的日期格式转换的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did62146