For example:
2 months ago
Have you tried searching before asking these sorts of questions? Literally the first result Googling “jekyll relative date” gives a plugin that does exactly what you want.
Yes, I did searched.