update version
get the format of datetime from DATETIME_INPUT_FORMATS