I have this table named sample with these values in MS Sql Server:
ID Date Description 1 2012/01/02 5:12:43 Desc1 2 2012/01/02 5:12:48 Desc2 3
var lastInstDate = model.Max(i=>i.ScheduleDate);
We can get max date from the model like this.