Move date formatter to utils class.