I like to print current date and current time.
The code below seems not to work correctly.
some other type of date and time
time() generates a timestamp and date will use the current time to generate it’s output as well. What doesn’t seem to work for you exactly?
The result of the code below says “Warning: date() expects at least 1 parameter, 0 given in http://dot.kr/x-test\\date.php on line 2”
How can I fix the warning?