Landmark Events

version 2 by Jon Ingold

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 4 - Comparing times, in general

    To decide if (prior time - a time) is more than (time difference - a
    time) ago:
    let test time be the prior time plus time difference;
    if test time is less than the time of day, decide yes;
    decide no.

    To decide if (prior time - a time) is less than (time difference - a
    time) ago:
    let test time be the prior time plus time difference;
    if test time is greater than the time of day, decide yes;
    decide no.

    To decide if (prior time - a time) is (time difference - a time) ago:
    let test time be the prior time plus time difference;
    if test time is the time of day, decide yes;
    decide no.