Render date field in custom format in tpl file
Ive solved it a different way. Ive created a custom date format and I can chose that as the display option for the field for a specific view mode. 

/admin/config/regional/date-time/formats