time problem

Discussion in 'PHP' started by dizyn, Sep 9, 2008.

  1. #1
    I am having time problem with server.
    When i tired following code it says:
    09/09/2008 14:30:03
    $format = '%d/%m/%Y %H:%M:%S';
    $strf = strftime($format);
    
    PHP:
    But when i login to server it says:
    Tue Sep 9 15:26:40 2008

    why is this difference of one hour? any idea?

    thank you
     
    dizyn, Sep 9, 2008 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    nico_swd, Sep 9, 2008 IP