Hello Robert
just stumbled over your post here. Maybe a bit late but this implementation of an timeclock should fit your needs: