Added DATE_FORMAT function

Just added DATE_FORMAT function - copied DATEDIFF and modified accordingly