Checks if the character is a valid date time string
.is_datetime_valid(x)
x
(character) can be anything but suppose to be a character.
character
logical(1) denoting if all elements of the character vectors are valid
logical(1)