online time error ??????
Started on the old forum in October 2009 · view the original in the archive · old links redirect here
its because your server time. 6 hours later at me.
mysterio.al - programming is a functional art
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
if($showtime[0]=="1"){ $TimeZone="3.5"; ////Change the TimeZone accordingly! $New_Time = time() + ($TimeZone * 60 * 60); echo "<a href="time.php?sid=$sid"><blink>".date("D d M y - H:i",$New_Time)."</blink></a> "; }
$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
12345xmen wrote: if($showtime[0]=="1"){ $TimeZone="3.5"; ////Change the TimeZone accordingly! $New_Time = time() + ($TimeZone * 60 * 60); echo "<a href="time.php?sid=$sid"><blink>".date("D d M y - H:i",$New_Time)."</blink></a> "; }
$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 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.
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 ??????????????