Connection to real server and date formating