From 1bad4fc00814e2c03ecadaa7faf93c6372f5bd30 Mon Sep 17 00:00:00 2001 From: Kyle Kaminski Date: Sun, 16 Jun 2013 03:25:26 -0500 Subject: initial commit --- dtime_format.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dtime_format.php (limited to 'dtime_format.php') diff --git a/dtime_format.php b/dtime_format.php new file mode 100644 index 0000000..9048ce6 --- /dev/null +++ b/dtime_format.php @@ -0,0 +1,21 @@ + + + +Hacker's Corner + + + +

Beyond The Basics?

+\n"; + echo "
\n"; + + $dt = time(); + $mysql_datetime = strftime("%Y-%m-%d %H:%M:%S", $dt); + echo "mysql format that it understands: {$mysql_datetime}" . "
\n"; +?> + + + -- cgit v1.2.3