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 Quote 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); Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.