Related Links : Search Engine Optimization | | Search Engine Marketing | Online Marketing | Freelance Programmer| SEO Thailand | SEO Expert | SEO services | PHP Programmer Thailand | SEO Tutorial | What is SEO |

  Home Our SEO Services SEO Expert Consultant Php Programmer Scripts| Email : sachin {at} jainsachin {dot} com

PHP | Date/time support | Manual | Tutorial | Help

SEO Services



Website Programming in PHP / MYSQL



Friends


    Date/time support

    Date/time support

    Date/time support has been fully rewritten in PHP 5.1.x, and no longer uses the system settings to 'know' the timezone in operation. It will instead utilize, in the following order:

    • The timezone set using the date_default_timezone_set() function (if any)

    • The TZ environment variable (if non empty)

    • "magical" guess (if the operating system supports it)

    • If none of the above options succeeds, UTC

    To ensure accuracy (and avoid an E_STRICT warning), you will need to define your timezone in your php.ini using the following format:

    date.timezone = Europe/London

    The supported timezones are listed, in this format, in the timezones appendix.

    Also note that strtotime() now returns FALSE on failure, instead of -1.


    SEO Tutorial / Articles





    Php / Mysql Tutorial



    Articles



      Portfolio


      SEO by Jainsachin