Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: dynamic time from $variable
08-24-2010, 02:18 AM #1
- Join Date
- Apr 2008
- United States
- Thanked 0 Times in 0 Posts
dynamic time from $variable
Hi I am trying to take static time from a variable "$uct" and make
it live, with counting of minutes seconds etc,
$uct = date("h:ia", time()-GetUserOffset());// displays user logged in current time
manually entering the minutes, I would like to insert my variable containing
the user offset shown above, and I guess I could leave that js setting at 0,
But instead of using the default server time I'd like to use my $variable
anyone know how I can do this by editing localtime in the code below I get
syntax errors trying,
this is what I would like to use:
I don't know if I should post that whole code here
Last edited by sonny; 08-24-2010 at 02:21 AM.
08-29-2010, 07:00 PM #2
Last edited by DaveyErwin; 08-29-2010 at 07:09 PM.
08-29-2010, 07:09 PM #3