I'm creating a table and would like to include a date field. However the only option I can find available is the datetime data type which requires me to enter a time as well. All I would like to enter is the date in which an employee was hired. If I don't enter a time is defaults to 12:00:00pm. Is there a data type specifically just for 'date' rather than datetime?
datetime data type
Started by giuliel, Aug 20 2008 09:14 AM
3 replies to this topic
#1
Posted 20 August 2008 - 09:14 AM
If at first you don't succeed, skydiving is not for you.
|
|
|
#2
Guest_Jordan_*
Posted 20 August 2008 - 10:26 AM
Guest_Jordan_*
Which database are you using?
#3
Posted 20 August 2008 - 10:40 AM
#4
Posted 20 August 2008 - 12:04 PM
If you use 12:00:00 AM, it will ignore the time when returning values.


Sign In
Create Account


Back to top









