Hi
I'm just learning the date() function.
I'm trying create a Daylight Savings
I used $todayDate = date("D-m-d-Y-T-a");
because I am going to run it that day.
For example:
Daylight Savings is on Sunday, November 4, 2012, 2:00am.
My issue is that once I run the code my answer is this:
Daylight Savings is on Sun-11-04-2012-CEST-pm
it should be this
Daylight Savings is on Sunday, November 4, 2012, 2:00am.
So this is what I got so far:
<?php
//Daylight Savings
$todayDate = date("D-Y-m-d-T-a");
echo "Daylight Savings is on ".$todayDate."<br>";
?>
Any Suggestions and explanation will help. I appreciate it. Thanks!