use strftime instead of DateTime