ldoozer Posted January 27, 2007 Share Posted January 27, 2007 Is it possible to query a varchar field with dates in, such as 01/01/2007 to check if they have passed a certain date.eg. is the date in the field before or after today? Link to comment https://forums.phpfreaks.com/topic/35962-date-problem/ Share on other sites More sharing options...
utexas_pjm Posted January 27, 2007 Share Posted January 27, 2007 If you can change the column to type date, that'd be best, otherwise you can parse out the date and out into the mktime function: http://php.net/mktime.Best,Patrick Link to comment https://forums.phpfreaks.com/topic/35962-date-problem/#findComment-170545 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.