Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    return 0;

  }

  return 1;

}

Image Added

 

Length of Time to Event

Select the event date (e.g., death), baseline date and the last available encounter date (will need all encounter dates, unless using an "Output Interval" containing the baseline and last follow-up).

...

   return days between Baseline and SecondLongestEncounterDate

} etc.....

}

Note the image below uses VBScript, but above code uses javaScript (recommended)

Image Added