Hello,
I am using the datediff function to find the number of hours between two dates.
However, if possible I'd like to calculate the minutes as well.
i.e my code is TxtBox3.Value = DateDiff("h", TxtBox1, TxtBox2, VbMonday)
Obviously, I know the problem is due to the "h", and I've looked at the help to find out "n" is minutes, but I'm not sure what the exact format to use is.
Thank you for any help you can offer.
Natasha.
I am using the datediff function to find the number of hours between two dates.
However, if possible I'd like to calculate the minutes as well.
i.e my code is TxtBox3.Value = DateDiff("h", TxtBox1, TxtBox2, VbMonday)
Obviously, I know the problem is due to the "h", and I've looked at the help to find out "n" is minutes, but I'm not sure what the exact format to use is.
Thank you for any help you can offer.
Natasha.