Conversion of the MySQL date line to the Unix timestamp.

advertisements

My date in the MySQL is stored in the following format:

2012-01-25 15:16:12

Now I need to convert this dateline to the unix timestamp. Is that possible in PHP?


strtotime('2012-01-25 15:16:12')