Matthew Daly's Blog

I'm a web developer in Norfolk. This is my blog...

28th September 2014 7:53 pm

Changing Date Format from DD/MM/YYYY to YYYY-MM-DD in Vim

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.

Recent Posts

Using Stored Procedures in Your Web App

Check Your Code Base Is PHP 7 Ready With PHP Compatibility

Unit Testing Your Laravel Controllers

Put Your Laravel Controllers on a Diet

Using Lando As An Alternative to Vagrant

About me

I'm a web and mobile app developer based in Norfolk. My skillset includes Python, PHP and Javascript, and I have extensive experience working with CodeIgniter, Laravel, Django, Phonegap and Angular.js.