I doubt you are entitled to anything over and above your normal annual leave if you are taking the course off your own bat. It will probably be worth it to take the 2 days off as leave, if you have any left.
You could appeal to the better nature of your boss (if he/she has one) to allow you work a half-day or work from home on these days.