Reply To: How to compare dates in a IF statement in an Xlate

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf How to compare dates in a IF statement in an Xlate Reply To: How to compare dates in a IF statement in an Xlate

#57779
Vince Angulo
Participant

    I’d be interested in hearing about a simple solution for this.  Here at Children’s we’ve got (what I think) is a pretty complex workaround.  We have two tcl procs (IsDateOverLimit and IsDateUnderLimit) that we use to filter messages when Admit or Disch date is over or under some value (usually 60d or 90d).

    The procs accept the PV1-44/45 date values and the number of days we want to test for and return a true/false via XlateOutVals to a variable that we test in the IF statement.

    It’s functional if not elegant.