dtdetu Posted June 27, 2009 Share Posted June 27, 2009 hello , i am trying to use strtotime in a date but it works for echo strtotime("Today 00:04 EDT"); but it doesnt work for echo strtotime("06-26-2009 23:14 EDT"); can someone tell me how can i convert 06-26-2009 23:14 EDT to 11 length time value , thanks Quote Link to comment https://forums.phpfreaks.com/topic/163858-solved-strtotime-question/ Share on other sites More sharing options...
RussellReal Posted June 27, 2009 Share Posted June 27, 2009 try strtotime("2009-06-26 23:14 EDT"); instead Quote Link to comment https://forums.phpfreaks.com/topic/163858-solved-strtotime-question/#findComment-864544 Share on other sites More sharing options...
dtdetu Posted June 27, 2009 Author Share Posted June 27, 2009 i get 06-26-2009 23:14 EDT with preg_match function , i dont know how can i change its form can you help about it Quote Link to comment https://forums.phpfreaks.com/topic/163858-solved-strtotime-question/#findComment-864546 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.