DateTime extensions + Rest clint fix