Working on dates and xml parser