Answer the question
In order to leave comments, you need to log in
How to print timestamp from MySQL + PHP?
Good afternoon! There is a string in the MySQL database
And here is its value in the database itself:
When using the following code, the date will be 01.01.1970 03:00:00
$date = strtotime($existingInfo["RegisterDate"]);
echo date('d.m.Y H:i:s', $date);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question