Print admin time

Discussion in 'PHP' started by roice, May 2, 2010.

  1. #1
    Hello,
    I built a form where my visitor can schedule appointment. I want my system to show them the time that posible to schedule but with GMT+2.
    meaning, if I set time between 2 and 4, so visitor in France will see 6-8 (because there is 4 hour different between my country and France.
    How can I print the local time according GMT+2 ?
     
    roice, May 2, 2010 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    i dont think PHP can do this directly as its a server side language you can do this with javascript though try that or use a geo tracking script and detect which country and then do the time difrent calculations
     
    Bohra, May 2, 2010 IP