This quick tool will help make sure you choose the right version custom firmware for your PSP. It's generally recommended to be on the 6.XX channel of updates, mostly either 6.60 or 6.61.

For PSP 200X models, you can find the date code in the battery compartment sticker with the battery removed. This will be two characters written above the serial number with the words date code next to them.