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
I have to use the method date() ?
I cant found a solution.
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
I have to use the method date() ?
I cant found a solution.
Copyright © 2021 Jogjafile Inc.
use
strtotime()
-strtotime()