Ibrakadabra
-
Posts
2 -
Joined
-
Last visited
Posts posted by Ibrakadabra
-
-
I am trying to format a normal date into a timestamp. To convert a timestamp into the normal date was no problem, but now I have an array with 4 different dates! 2 normal dates : 1991-12-09, 12.03.1984 and also 2 timestamps in one array. If I had the same format I could strpos it and make an if and test with "." that worked last time, but now I have those 4 different formats. Anyone an idea?
PHP: Date to Timestamp
in PHP Coding Help
Posted
Thanks! Helped me a lot. I worked a little bit around and tested, and found out that you can use -> echo $date->getTimestamp();
Still thanks!!!