fixed datetime class; added helper method to HttpHeaders