Tech Off Post

Single Post Permalink

View Thread: Question - What would you do?
  • User profile image
    W3bbo

    Kryptos said:
    W3bbo said:
    *snip*

    not sure if I explained myself.  He acutally wants to type in "Pre 1960's" ... I don't reall see what choice I have.

    two DateTime fields, representing a range.

     

    If dt1 == dt2, then the date stored is a single point in time.

    If dt1 < dt2 then you've got a range, in this date dt1 == DateTime.MinValue, and dt2 = 1960-12-31

    If dt2 < dt1, then you can use that as an opportunity for some strange thing I can't think of.