Hi All;
I am trying to get a date function to output on an email from my website. All i need is the current date. What is a simple way to do this?
Shawn
Use the date() function.
http://www.php.net/date
---John Holmes...
$date = date("m-d-Y");
prints out in mm-dd-yyyy format
There is actually a really good article on dealing with dates in the Columns section of this site. Check it out.
-Sonny