have never been a witness but have done jury service, they paid for my child care for the whole time, including travelling time, and they also give you a certain amount depending how long your day has been, this included travelling time. the forms taht i had to fill in asked what time i left home, then what time i arrived at court ect, im guessing it would be the same for a witness but not sure about overnight stays.