djcrazysk8er wrote:$dateSet = date("Ymd",mktime(0, 0, 0, date("m"), date("d"), date("Y")));Why not just:
| Code: : |
$dateSet = date("Ymd");
|
In your example, you are calling the date() function 4 times and the mktime() once, only to then discard everything in favor of date("Ymd"):
Best,
Bob