- Impact
- 9
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:
but its no use like this so we make it part of a variable
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
PHP:
date("parameters");
PHP:
$date = date("parameters")
you can also easily format time so this:
PHP:
date('l dS \of F Y h:i:s A');
I hope you find this helpful







