you can use object method: ```$date->format()```