HTML Question

"Cut" the string on HTML

In html tag I use smarty varaible it's look like this :

<div class="ty-blog__date">{$subpage.timestamp|date_format:"`$settings.Appearance.date_format`"}</div>

"} in web-site page looks like date: Авг 17, 2016
Where: Авг - month, 17 - date, 2016 year. But it is one string.
I need to cut this string to insert html tag's.
Some example:


How i can do it?