Today() in PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ericsodt
Forum Commoner
Posts: 51
Joined: Fri Aug 22, 2003 12:12 pm
Location: VA

Today() in PHP

Post by ericsodt »

Can someone help me out... I am not near any documentation and have limited access to the web. I am trying to get today's date in the format of monday Dec 8 00:00:00 EST 2003. Can anyone help me out.

Thanks
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

try this

Code: Select all

echo date ("M j H:i:s T Y");
Mark
ericsodt
Forum Commoner
Posts: 51
Joined: Fri Aug 22, 2003 12:12 pm
Location: VA

Post by ericsodt »

Thanks, done
Bech100 wrote:try this

Code: Select all

echo date ("M j H:i:s T Y");
Mark
Post Reply