How can I return the current date/time? [Print this FAQ]
Answer:
To retrieve the current date and/or time (according to the time set on the Web server you are executing the script on), use the following functions:
Now() - returns the current date and time Date() - returns the current date Time() - returns the current time
For more information be sure to read the technical docs for Now(), Date(), and Time().
FAQ posted by Scott Mitchell at
9/24/2000 3:47:27 PM to the
Dates and Times category.
This FAQ has been viewed 58,651 times.
Do you have a FAQ you'd like to suggest?
Suggestions? Comments? If so, send it in!
Also, if you'd like to be a FAQ Admin (creating/editing FAQs),
let me know! If you are looking for other FAQs, be
sure to check out the 4Guys
FAQ and Commonly Asked Messageboard Questions!