JakeSilver Posted October 21, 2008 Share Posted October 21, 2008 Hi there, I need to convert date in the form of DD:MM:YYYY into a unix time code so i can search with it against the time codes in the database. Is there a function that i can do to do this? Many thanks Jake Link to comment https://forums.phpfreaks.com/topic/129368-solved-date-into-unix-time-code/ Share on other sites More sharing options...
JakeSilver Posted October 21, 2008 Author Share Posted October 21, 2008 Solved: $stamp = mktime(hour, minute, second, month, day, year); Link to comment https://forums.phpfreaks.com/topic/129368-solved-date-into-unix-time-code/#findComment-670668 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.