aim25 Posted July 11, 2007 Share Posted July 11, 2007 Im making a date field in mysql, but im not sure which data type to make it, like a number should be INT(xx), but what about a date? Link to comment https://forums.phpfreaks.com/topic/59466-solved-date-field/ Share on other sites More sharing options...
metrostars Posted July 11, 2007 Share Posted July 11, 2007 DATETIME that woud show date like 10-07-2007, you could use INT to make the date UNIX timestamp that would be a number to represent time. My preference is datetime, but to each his own. Link to comment https://forums.phpfreaks.com/topic/59466-solved-date-field/#findComment-295496 Share on other sites More sharing options...
aim25 Posted July 11, 2007 Author Share Posted July 11, 2007 Hmm i saw this alot of times on google but they never expanded , o well thnks, that helped alot. Link to comment https://forums.phpfreaks.com/topic/59466-solved-date-field/#findComment-295498 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.