add current date to add new record function