online time error ??????

Started on the old forum in October 2009 · view the original in the archive · old links redirect here

8 replies · 415 views · started 17 years ago · 1 min read

4 participants
12345xmen Developer · 239 posts #1

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 ??????

12345xmen Developer · 239 posts #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 ????????

Mysterio Lead · 630 posts #3

its because your server time. 6 hours later at me.

mysterio.al - programming is a functional art

12345xmen Developer · 239 posts #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 ?

CreativityKills Lead · 833 posts #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

12345xmen Developer · 239 posts #6

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

capofret Developer · 225 posts #7

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.

External image (may be gone)

12345xmen Developer · 239 posts #8

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

12345xmen Developer · 239 posts #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 ??????????????

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close