get DateTime directly from input string