Homepage › 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
November 9, 2005 at 7:54 pm
#57780
Dennis Pfeifer
Participant
and a pre TCL of
set xlateOutVals
0 7]]
source
0(0).PV1.#45.[0]
destination
@dischargeDate
—
in your If statement
(0(0).MSH.#9.[1] eq =A08) && (@dischargeDate < =20051002) — I don’t know the origin of 20051002 as a date .. but .. you may wish to assign it to a variable .. and use that in your if statement .. Dennis P.S. .. I prefer the ‘#’ notation instead of the item number .. It’s just me .. I know what PID-45 is .. I don’t know item 00175