Has anyone written a time reporter

All I really need is the ability to display total time worked as part of a
query. Anyone have a code snippit to add this to Search?

Ted