Publisher review:Convert MySQL Date/Time into your own format script allows you to pass in a MySQL Date/Time value and retrieve a Date/Time value according to the specified format. Convert MySQL Date/Time into your own format script allows you to pass in a MySQL Date/Time value and retrieve a Date/Time value according to the specified format.
The following are example of the function call:echo formatSQLDateTime('2003-12-23 10:55:05', 0, 'd/m/Y - H:i:s');echo formatSQLDateTime('2003-12-23', 1, 'jS F, Y');echo formatSQLDateTime('10:55:05', 2, 'g:i a T');Out put will be as shown below:23/12/2003 - 10:55:05Date Format is incorrect10:55 am Si 10:55:05tandard Time
Convert MySQL Date/Time into your own format 1.1 is a PHP script for Snippets scripts design by mogul.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
allows you to pass in a MySQL Date/Time value and retrieve a Date/Time value according to the specified format.
Operating system:Windows / Linux / Mac OS / BSD / Solaris