SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jun 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Please I have Problem with date Function

    I have being using this <?php echo date ('l,F dS Y.'); ?></p> for a while... but lately I upgrade my php to 5.3.8 and when I run the Date Code.. this is what it bring out ... please help .. thanks

    <?php echo date ('l,F dS Y.'); ?></p>

    Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\today\index.php on line 9
    Sunday,September 25th 2011.

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,439
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)
    Have you tried any of the fixes found in #9 of the Common PHP Problems Sticky?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •