M
Mark S
I am trying to calculate how many hours old a baby is if I know the date of
birth and the hour. (Risk for complication of jaundice)
I used =datediff("h",{BirthDate],Now())+ Int(Format(Now(),"mmdd")<Format
([BirthDate],"mmdd")) to see the hours and can set the conditions of risk
with a color change.
If I enter the date - the time is set to12:00 AM so if a baby was born at
6:00 AM it calculates the age is 6 hours more than is true. I need to
indicate the exact date and time and wasn't sure how or if I could do that.
Even if the date is set to general you can't edit the time. THis is as close
to programming as I am competant to do.
How can I add the exact Date and Time to the hour and use the DateDiff
function to calculate the correct hour of age when I open my form?
*****************************************
Mark M Simonian MD FAAP
681 Medical Center Dr West #106
Clovis, CA 93611
(559) 325-6850
www.markmsimonian.medem.com
birth and the hour. (Risk for complication of jaundice)
I used =datediff("h",{BirthDate],Now())+ Int(Format(Now(),"mmdd")<Format
([BirthDate],"mmdd")) to see the hours and can set the conditions of risk
with a color change.
If I enter the date - the time is set to12:00 AM so if a baby was born at
6:00 AM it calculates the age is 6 hours more than is true. I need to
indicate the exact date and time and wasn't sure how or if I could do that.
Even if the date is set to general you can't edit the time. THis is as close
to programming as I am competant to do.
How can I add the exact Date and Time to the hour and use the DateDiff
function to calculate the correct hour of age when I open my form?
*****************************************
Mark M Simonian MD FAAP
681 Medical Center Dr West #106
Clovis, CA 93611
(559) 325-6850
www.markmsimonian.medem.com