03-04-2006, 01:30 PM
| THREAD STARTER
#1 (permalink)
|
| NamePros Regular Join Date: Sep 2005 Location: At Home
Posts: 881
| date() This is a very good function thta can be used to date anything from last login to date adding a specific post. It is used in PHP 4 and 5. It is a reletavly easy fuction to use becuase it goes like this: PHP Code: date("parameters");
but its no use like this so we make it part of a variable PHP Code: $date = date("parameters")
the parameters you put inside are specific and are in the table below. i got this table from the PHP official site: http://uk.php.net/date
you can also easily format time so this: will give Monday 12th of November 2005 1:04:46 PM
I hope you find this helpful |
| |