SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: what's the command to get the GMT Time ?

  1. #1
    SitePoint Enthusiast mahmoud's Avatar
    Join Date
    May 2001
    Location
    Egypt
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    what's the command to get the GMT Time ?

    What's the command to get the GMT Time instead of the server time ?
    Mahmoud

  2. #2
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,396
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Instead of date( 'date format' ); use gmdate( 'date format' );
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting :: From £250/m
    Personal Web Hosting :: Budget Web Hosting :: From £50/y
    Call 0800 542 9764 today and ask about our Cloud Hosting Platform

  3. #3
    SitePoint Enthusiast mahmoud's Avatar
    Join Date
    May 2001
    Location
    Egypt
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks
    Mahmoud

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
  •