add function to check the data type(number, value or date)