rename method
use a function to format the date