Jump to content

Recommended Posts

Please read the documentation for what you are doing - http://us2.php.net/manual/en/function.date.php

 

"now" for a format string would give: Numeric representation of the month, without leading zeros (1-12), ISO-8601 year number, and numeric representation of the day of the week (0-6). So, today (Nov. 27, 2009 where I am located) would give 1120095

i am also new to php but i hope this helps if u going to use this on php

$thedate = date('l dS F Y');
  echo '<center><u>' .$thedate. '</center></u>';

 

that should give you something like Friday 27th November 2009

i hope this helps you in some way hehe

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.