Create DataBase

this is the DataBase code, checking data and comparing times and giving a Systoem.out.print() response.