O
Orchid
Hi,
I try to get the last day of the month based on a hire date and then
count the no. of days. For example: Hire date is 3/12/2008, I want to
format the hire date to be 3/31/2008, and then count the Number of
days. I want to make it 30days a month even it could be 31 or 29
days. So the answer should be 18 days. I have the formula below;
however, it gave me error:
DateDiff("d",[Hire Date], Format([Hire Date],"mm/""30""/yyyy"))+1
Could someone help? Greatly appreciated!
I try to get the last day of the month based on a hire date and then
count the no. of days. For example: Hire date is 3/12/2008, I want to
format the hire date to be 3/31/2008, and then count the Number of
days. I want to make it 30days a month even it could be 31 or 29
days. So the answer should be 18 days. I have the formula below;
however, it gave me error:
DateDiff("d",[Hire Date], Format([Hire Date],"mm/""30""/yyyy"))+1
Could someone help? Greatly appreciated!