Changing date format from DD/MM/YYYY to YYYY-MM-DD in Vim

Published by at 28th September 2014 6:53 pm

Recently I had the occasion to reformat a load of dates in Vim from DD/MM/YYYY to YYYY-MM-DD. In Vim, this is quite simple:


This should be easy to adapt to reformatting other date formats.