Say I have two types of datetime format need to check which are the following:
%Y-%m-%dT%H:%M:%S.%f%z
%Y-%m-%d