[thelist] [PHP] reformat date...
Thomas Moore
thdomo at gmail.com
Thu Jan 25 10:45:34 CST 2007
Don't know if this helps or not. From php.net
Notes
Note: To generate a timestamp from a string representation of the
date, you may be able to use strtotime(). Additionally, some databases
have functions to convert their date formats into timestamps (such as
MySQL's UNIX_TIMESTAMP function).
On 1/25/07, Tris <beertastic at gmail.com> wrote:
> Simply put, I'm REALLY hungover, and want to die...
> However, before I go home.. I have to convert:
>
> (string)3/MAY/07 --> (date for MySQL)2007-05-03
>
> google is confusing me...
> NEVER drinking again.
>
> Tris...
>
> --
> When a person can no longer laugh at himself, it is time for others to
> laugh at him.
> Thomas Szasz
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list