How to display a date without hour, minutes, and seconds? I have created content type and installed Automatic Entity Label and generated the auto label using field tokens of:


field_id
field_DOB 
field_Gender


After saving the content DOB format is displaying with time stamp           56u 2015-10-13 00:00:00 Male but here I want to show only something like this 56u 2015-10-13 Male.

I want to remove this 00:00:00.

While creating the field DOB I have chosen the following settings but still getting the hour, minutes, and seconds. How to remove this? Any suggestion?
Steps to achieve your requirement:


Goto /admin/config/regional/date-time/formats/add link, and add Format string as explained in the PHP manual.


Now add Date type and select the format you created.


Finally, go to content type Manage Display settings and add your newly created date format.
At URL /admin/structure/types/manage/page/auto_label, add token of the DOB field with the format you created by Browsing Available Tokens.