datetime - PHP parsing a date using strptime() or strtotime() -


Hi, I have trouble parsing a date in straightforward, because my system windows are running I

I have stringetimes () I'm also trying to parse the date using, but not luck but because I am using the Euro date format.

This is the date format I use for 30/11/2009 11:00 am and I need to get a timestamp from it.

Any ideas how can I get it?

$ us = preg_replace ('# ^ (\ d +) / (\ d +) / (\ D +) \ s ([\ d:] +) \ ([A-zA-z] {0,2}) $ # ',' $ 3- $ 2- $ 1 $ 4 $ 5 ' , $ Date); $ Timestamp = strotom ($ date);

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -