The script is adding the correct date to the DB