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
Post a Comment