Z.date.sub(A,B) - subtracts the second date from
the first date and returns the number of days between the two
Arguments: A = later date in internal format
B = earlier date in internal format
Returns: An integer number of days corresponding
to A - B
Insert this in the standard IFE to display, substituting the appropriate
values for A and B and myquery:
IFE=IF{%Z.date.sub(A,B)^/VAR,
IFE=VAR^/[ANS%0,"myquery"]|0,P(R,S,VAR)^#,""}
Daniel Davis, RN
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Jenifer Brewer
Sent: Wednesday, January 24, 2007 6:30 AM
To: [email protected]
Subject: [MEDITECH-L] Attribute
Does anyone have an attribute that will subtract two dates and give
number of days?
Thanks,
Jen Brewer
Beloit Memorial Hospital
[EMAIL PROTECTED]
608.363.5859
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.COM.
To check the status of the meditech-l, visit MTUsers.NET.
For help, email [EMAIL PROTECTED]
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l