How to Convert DateTime to String in PHP

How to Convert DateTime to String in PHP