Print date and timestamp in views-view-field--blog--block-1--image.html.twig How to print date and timestamp in views-view-field.html.twig ?

This is my html code

&lt;span class="date"&gt;&lt;span&gt;27 &lt;em&gt;Mar&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;


And this is code for timestamp

&lt;span class="timestamp"&gt;
        &lt;i class="fa fa-clock-o"&gt;&lt;/i&gt;
        6 mins ago
&lt;/span&gt;


To look like this. This is html look. 

Date and timestamp need to be add in

views-view-field--blog--block-1--image.html.twig
I am assuming that the template is for a date field and you want to display the date field in the format that you specified above. 

Here is the article that might help http://twig.sensiolabs.org/doc/filters/date.html

For PHP date formats you may refer to http://php.net/manual/en/datetime.formats.date.php

Similar question : https://stackoverflow.com/questions/8318914/how-to-render-a-datetime-object-in-a-twig-template