I am working on application contains a datepicker and if I set the time in that picker to a very old value or far in the future when I try to save this value in the database
Products prd = new Products(); prd.CreatedDate = DateTime.Now;
You can add as above