I would translate the users inputs into a 10 digit number by padding it with zeroes removing any dots. You can then numerically compare to the first field in your datafile. Just be careful with the end date/time... Apologies for not providing sample code but I have to run.