What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-11-09 14:40:13
php date timestamp now
//Get current date time in PHP // Simply: $date = date('Y-m-d H:i:s'); // Or: $date = date('Y/m/d H:i:s'); // This would return the date in the following formats respectively: $date = '2012-03-06 17:33:07'; // Or $date = '2012/03/06 17:33:07'; /** *... Add solution
Best helpers
SOUMEN
+5
Huggy Buggy
+5
Joyo
+5
ImMathan
+5
Anugram
+5
Vy32
+5
Daniel Cook
+5
Florian Huit
+5
Csandreas1
+5
B_archer
+5
Horse
+5
Kd88
+5
Shahruz Raad
+5
Mick Daw
+5
Czlsws
+5