Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: formula to calculate lenght of stay Post Reply Post New Topic
Author Message
sanchezgmc06
Senior Member
Senior Member
Avatar

Joined: 21 Jan 2011
Online Status: Offline
Posts: 107
Quote sanchezgmc06 Replybullet Topic: formula to calculate lenght of stay
    Posted: 19 Apr 2012 at 12:00pm
I need help
 
 
How do i calculate lenght of stay counting from admit.admission_date field  to current date? (i need the lenght of stay in months)
 
I also need to calculate lenght of stay for discharged clients (i need the lenght of stay in months)
 
thank you
IP IP Logged
sanchezgmc06
Senior Member
Senior Member
Avatar

Joined: 21 Jan 2011
Online Status: Offline
Posts: 107
Quote sanchezgmc06 Replybullet Posted: 19 Apr 2012 at 12:04pm
okay i got the 1st formula down
 
datediff ("m",{admit.admit_date},currentdate)
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.