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
You can use time() to get the current UNIX time, and then use date() to convert it into readable english 🙂
Go read the PHP manual entry on date() for more help.
you only need to use the date function... it will get the current date/time... it's of no use using the time function first.. it will only be usefull if your trying to output some other time than "right now"...
Andreas