Sunday, 14 July 2013

PHP program for date and time with output

<!DOCTYPE html>
<html>
<body>

Today's date is: <%response.write(date())%>.
<br>
The server's local time is: <%response.write(time())%>.

</body>
</html>









output




Today's date is: 7/14/2013.
The server's local time is: 12:49:47 PM.

0 comments:

Post a Comment