public static DateTime GetDateFromDateID(object obj) { if (obj == null || obj is DBNull) { return(DateTime.MinValue); } return(DateTimeUtils.GetDateFromDateId(GetInt(obj))); }
public static DateTime GetDate(this int dateId) { return(DateTimeUtils.GetDateFromDateId(dateId)); }