SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2011
    Location
    Kuching, Sarawak
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Configure time zone(HELP)

    Hi there,

    I am having some minor difficulties on configuring the time zone.

    Here is the line:

    PHP Code:
    $thedate=date("U"); //get unix timestamp
    $displaytime=date("F j, Y, g:i a"); 
    The line above not displaying the correct time zone where I currently in. I want to set the time zone to UTC+8.00.

    How to set it? Please advise.

  2. #2
    Keeper of the SFL StarLion's Avatar
    Join Date
    Feb 2006
    Location
    Atlanta, GA, USA
    Posts
    3,747
    Mentioned
    64 Post(s)
    Tagged
    0 Thread(s)
    Never grow up. The instant you do, you lose all ability to imagine great things, for fear of reality crashing in.


Tags for this Thread

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
  •