Getting a date to print out

Getting a date to print out

am 29.08.2009 00:17:33 von John Meyer

is there any special trick to getting a MySQL date to print out? Simply
echoing it out doesn't seem to work.

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Getting a date to print out

am 29.08.2009 00:54:36 von harlequin2

Hi John,

John Meyer schrieb:
> is there any special trick to getting a MySQL date to print out? Simply
> echoing it out doesn't seem to work.

could you provide some sample code what you try to achieve?

Regards,

Sascha

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Getting a date to print out

am 29.08.2009 07:53:41 von Jacob Kruger

The Date() function is for formatting what they call timestamps, and
includes formatting etc.:
http://www.w3schools.com/php/php_date.asp

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'

----- Original Message -----
From: "John Meyer"
To:
Sent: Saturday, August 29, 2009 12:17 AM
Subject: [PHP-WIN] Getting a date to print out


> is there any special trick to getting a MySQL date to print out? Simply
> echoing it out doesn't seem to work.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4378 (20090828) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4378 (20090828) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php