Set dynamically hour - DS1307

I want keep my RTC1307 always updated with my server, so I created this code to first search the time on the server then passes to getServerTime() function to divide it and set in the RTC. I use the rtc.adjust() to adjust my watch.

Problem: My watch is getting wrong, this is set 2165/165/165 165:165:85. I think the problem is in defining the time in rtc.adjust(), I’m going as follows:

//tempDate -> May 19 2015
    //tempHour -> 09:25:14
    rtc.adjust(DateTime(tempDate, tempHour));

Does anyone know the cause of this error?

    #include <Ethernet.h>
    #include <SPI.h>
    #include <Wire.h>
    #include <RTClib.h>
    RTC_DS1307 rtc;
    
    byte server[] = { 192, 168, 0, 8 };
    byte ip[] = { 192, 168, 0, 237 };
    byte mac[] = { 0xDE, 0xAD, 0xAD, 0xEF, 0xFE, 0xED };
    
    void setup() {
        Ethernet.begin(mac, ip);
        Serial.begin(9600);
    }
    
    void loop() {
        getServerTime(getSiteData());
        DateTime now = rtc.now();
        
        Serial.print(now.year(), DEC);
        Serial.print('/');
        Serial.print(now.month(), DEC);
        Serial.print('/');
        Serial.print(now.day(), DEC);
        Serial.print(' ');
        Serial.print(now.hour(), DEC);
        Serial.print(':');
        Serial.print(now.minute(), DEC);
        Serial.print(':');
        Serial.print(now.second(), DEC);
        Serial.println();
        Serial.println();
        delay(5000);
        
    }
    
    char * getSiteData()
    {
        EthernetClient http;
        unsigned char startRead = 0, i = 0;
        char inString[50];
        
        if (http.connect(server, 80)) {
            http.println("GET /util/date.php HTTP/1.1");
            http.println("Host: ");
            http.println("Connection: close");
            http.println();
            
            while (http.connected()) {
                while (http.available()) {
                    char c = http.read();
                    
                    if (c == '<' )
                        startRead = 1;
                    
                    else if (startRead) {
                        
                        if (c != '>') {
                            inString[i] = c;
                            i++;
                            inString[i] = '\0';
                        } else {
                            startRead = 0;
                            http.stop();
                            http.flush();
                            return inString;
                        }
                    }
                }
            }
            Serial.println(inString);
            http.stop();
            http.flush();
        }
        else
            Serial.println("Tentativa de conexão falhou. Sem internet ou servidor inacessivel");
    }
    
    //May 19 2015-09:17:24
    void getServerTime(char* siteData)
    {
        char *tempDate, //May 19 2015
            *tempHour; //09:17:24
        
        tempDate = strtok(siteData, "-");
        tempHour =  strtok(NULL, "-");
        
        rtc.adjust(DateTime(tempDate, tempHour));
        
        
    }
//tempDate -> May 19 2015
    //tempHour -> 09:25:14
    rtc.adjust(DateTime(tempDate, tempHour));

The syntax looks OK, and I can set the time successfully with the following sketch. I would focus on how you are building and parsing tempDate and tempHour from siteData.

#include <Wire.h>
#include "RTClib.h"

RTC_DS1307 RTC;

void setup () {
  Serial.begin(57600);
  Wire.begin();
  RTC.begin();

  char* tempDate = "May 19 2015";
  char* tempHour = "09:17:24";

  RTC.adjust(DateTime(tempDate, tempHour));
}

void loop () {
  DateTime now = RTC.now();

  Serial.print(now.year(), DEC);
  Serial.print('/');
  Serial.print(now.month(), DEC);
  Serial.print('/');
  Serial.print(now.day(), DEC);
  Serial.print(' ');
  Serial.print(now.hour(), DEC);
  Serial.print(':');
  Serial.print(now.minute(), DEC);
  Serial.print(':');
  Serial.print(now.second(), DEC);
  Serial.println();


  delay(3000);
}

What does Serial.println(inString); look like?
What does Serial.println(getSiteData()); look like?