convert month name to number in unix

Input : 01-DEC-18|”0308″|”RUB” 01-DEC-18|”0308″|”RUB” 01-DEC-18|”0308″|”RUB” 01-DEC-18|”0308″|”RUB”

Expected output :

01-12-18|”0308″|”RUB” 01-12-18|”0308″|”RUB” 01-12-18|”0308″|”RUB” 01-12-18|”0308″|”RUB”