Quote:
Originally Posted by susen
PHP Code:
<?php $dt=date("d:H:i:s",time());?>
Use this code to get date.
|
The second parameter of date() is optional and is equal to time() by default.
So, in your example you can use just :
PHP Code:
<?php $dt=date("d:H:i:s");?>
__________________
» Please login or register to view this content. Registration is FREE
- Interactive maps for websites
» Please login or register to view this content. Registration is FREE
for web developers
|