Does my employer have to pay me for being out of work on a subpoena?

Question Details:

I was recently subpoenaed to be a witness in a court case and the prosecutor said my employer has to pay my wages for the day minus my witness fee. My employer is saying they don't have to pay me. We are headquartered in Albany, N (I am not sure that matters). Important Notice