Relative string in datetime columns

There's a script here. You'll need to edit the strings it uses into English, but the logic is all there: