tried different ways to implement without any success, Any help?
<?php
$recent_posts = wp_get_recent_posts(array(
'numberposts' => 99, // Number of recent posts thumbnails to display
'post_type' => 'post',
'post_status' => 'publish' // Show only the published posts
));
foreach($recent_posts as $post) : ?>
<div class="cards">
<div class="card">
<h4><?php echo $post['post_title'] ?></h4></a>
<p class="card-text">Happened time ago</p>
<p class="card-text">... <small><a href="<?php echo get_permalink($post['ID']) ?>"><i class="fa fa-eye"></i> Read more</a></small></p>
</div>
</div>
get_relative_date()
isn't a core WordPress function. Is it one you wrote of from your theme or a plugin?