I try and subtract the admission and discharge dates of patients at a hospital.
discharge = discharge date (end) / admit = admission date (start)
I use the following code and it works but the layout/format is not what i require.
i get this result
i would prefer it to be like this:
Any suggestions pls?
discharge = discharge date (end) / admit = admission date (start)
I use the following code and it works but the layout/format is not what i require.
Code:
PatientDays: Int([discharge]-[admit]) & Format([discharge]-[admit],""" days ""h"" hrs, ""n"" min""")
Code:
2 days 10 hrs, 0 min
Code:
02:10:00
Comment