Thanks.
]]>There may be a few easier ways of doing what you need, but this formula will check to see what the value of the “HOUR” is and convert it appropriately depending on whether or not its less than, equal to, or greater than “12″:
=IF(HOUR([My Date])<12,TEXT(TIME(HOUR([My Date]),MINUTE([My Date]),SECOND([My Date])),"h:mm")&" AM",IF(HOUR([My Date])=12,TEXT(TIME(HOUR([My Date]),MINUTE([My Date]),SECOND(Start)),"h:mm")&" PM",TEXT(TIME(HOUR([My Date])-12,MINUTE([My Date]),SECOND([My Date])),"h:mm")&" PM"))
Hopefully this will help,
- Dessie
]]>any help on this is greatly appreciated.
]]>I have this working like a dream at the moment – but now have broken it.
I also want to track half days, so have a half day choice where someone can either take the morning or afternoon off.
How can I build this in so that the correct number of days show up.
Iain
]]>I was able to use this function, but unfortunately after 24 hrs I have to do some kind of refresh otherwise the field shows an error. Have you heard of this issue with calculated fields?
]]>