There is a Z program that will do this: %Z.date.sub(DATE1,DATE2) Performs DATE1 - DATE = Number of days Date arguments are in yyyymmdd format %Z.date.sub(20070129,20070120) returns 9 Good luck :-) John O'Donnell MIS Analyst Cape Cod Healthcare ________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jenifer Brewer Sent: Wednesday, January 24, 2007 7: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
