How to convert December-2017 to 201712

i have date format like December-2017 i want to convert 201712 please helm me to conversion how to do that .