online time error ??????

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    online time error ??????

    hey dear friends in my user profile online time show zero its cant save how much time user online till frm joining the site what i do its show zero ??????

    #2
    and 1 mor thing my site time is correct but when user post any post in topic thats not corrct its show 2 hr late what i do how i corrct this ????????

    Comment


      #3
      its because your server time. 6 hours later at me.
      mysterio.al - programming is a functional art

      Comment


        #4
        how i correct this bro can u tel me my site time is correct but posting time is diffrent ?


        and wht abt 1st querry ?

        Comment


          #5
          ini_set("date.timezone","Europe/london");

          change the europe/london bit to the one dat matches ur timezone, search sumwer on php.net for full list.

          Add d code to d top ov ur pages. Or top ov ur core.php

          Comment


            #6
            if($showtime[0]=="1"){
            $TimeZone="3.5"; ////Change the TimeZone accordingly!
            $New_Time = time() + ($TimeZone * 60 * 60);
            echo "<small><a href=\"time.php?sid=$sid\"><blink>".date("D d M y - H:i",$New_Time)."</blink></a></small><br/>";
            }

            $TimeZone="3.5"; ////Change the TimeZone accordingly!
            $New_Time = (time() - $timeadjust) + ($TimeZone * 60 * 60);

            $show_date=date("D dS F, Y",$New_Time);
            $show_time=date("H:i",$New_Time);
            $Hour=date("G",$New_Time);


            bro my site time is correct as i say before problem is that when user post in any topic then i got time diffrenc thats y i say. i my home page right time show but not in post reply

            abv code i use for time nw tel what i do ?

            i use retrivewap script

            Comment


              #7
              Originally posted by 12345xmen View Post
              if($showtime[0]=="1"){
              $TimeZone="3.5"; ////Change the TimeZone accordingly!
              $New_Time = time() + ($TimeZone * 60 * 60);
              echo "<small><a href=\"time.php?sid=$sid\"><blink>".date("D d M y - H:i",$New_Time)."</blink></a></small><br/>";
              }

              $TimeZone="3.5"; ////Change the TimeZone accordingly!
              $New_Time = (time() - $timeadjust) + ($TimeZone * 60 * 60);

              $show_date=date("D dS F, Y",$New_Time);
              $show_time=date("H:i",$New_Time);
              $Hour=date("G",$New_Time);


              bro my site time is correct as i say before problem is that when user post in any topic then i got time diffrenc thats y i say. i my home page right time show but not in post reply

              abv code i use for time nw tel what i do ?

              i use retrivewap script
              i think u didnt change your date/time stamp to match your timezone. where's your code for posting a topic or reply?
              LDSWAPWORLD sigpic
              site closed.
              im busy with other things in life like facebook , send me PM so i can add you
              www.pinoySG.com

              don't ask for help if you're not even helping yourself!
              i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.


              Comment


                #8
                Capofret dear is it in index.php ya in other file.

                Comment


                  #9
                  Topics|Posts : 0 | 19
                  Unread PM's: None
                  Credits: 145 + 1(B)
                  Chat Posts: 39
                  Shouts: 1/1
                  Joined FriendsCare: 09 10 09-09:18:14
                  Time Online: 0 seconds
                  Browser: Opera

                  ny budy tel me whts i do for online time its show 0 sec. my site time zone correct but its dnt show user online time ??????????????

                  Comment

                  Working...
                  X