I want to convert a timestamp from mysql to format as time().
IF i have this date:
2015-06-05 08:53:30
I wants to convert to something like: 1433491545
1433491545
I have to use the method date() ?
I cant found a solution.
use strtotime() -
strtotime()
strtotime("2015-06-05 08:53:30");
use
strtotime()
-strtotime()