在数据库中分隔日期和时间 [英] Separating Date and Time in the database
本文介绍了在数据库中分隔日期和时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在数据库中创建将日期和时间分开的日期时间?
请..帮助我..
How to create a date time in database that will separate the date and time?
Please..help me..
推荐答案
MySQL参考手册第10.3节(下面的链接)
滚动到底部,然后列出了支持的日期/时间类型.我猜有一个叫做日期的,有一个叫做时间的,我想它可以完全满足您的要求.
此处[
MySQL reference manual section 10.3 (link below)
Scroll to the bottom and there is a list of the Date/Time types that are supported. There is one called Date and one called Time which I guess will do exactly what you want.
Here[^]
Dave
这篇关于在数据库中分隔日期和时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文