PHP gobal time

Discussion in 'PHP' started by Doskono, Jul 9, 2007.

  1. #1
    Im looking to get more into game creation and one thing I am not completly sure about yet.

    Could anyone please guide me in the right direction and tell me what kind of command I would need to use if I would like to do.

    $var1 = TIMENOW;

    or something like : at 3pm (server time) $var2 = $a++;
    or try to echo out the present time or something. I think it would be a global server command but could anyone get me into a term more specifically?

    thanks
     
    Doskono, Jul 9, 2007 IP
  2. norfstar

    norfstar Peon

    Messages:
    1,154
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    0
    #2
    norfstar, Jul 9, 2007 IP
  3. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ... naturally, in combination with the time() function, too.
     
    TwistMyArm, Jul 9, 2007 IP