If your Ghost CMS blog using Handlebars theme shows published date in relative time (like Published 11 months ago), you will find a handlebars code like this in your theme file.

<time datetime="{{date format="YYYY-MM-DD"}}">
    {{date published_at timeago="true"}}
</time>

Show exact date

The date published_at timeago="true" is responsible for the relative time. Change it to this.

<time datetime="{{date format="YYYY-MM-DD"}}">
    {{date published_at format="MMMM DD, YYYY"}}
</time>

This will give something like September 7, 2000.

Show exact time

You can use moment.js syntax for fine-tuning the details.

<!-- 2000 September 07 9:00:00 PM -->
<time datetime="{{date format="YYYY-MM-DD hh:mm:ss A"}}">
    {{date published_at format="YYYY MMMM DD hh:mm:ss A"}}
</time>
<!-- 2000 09 07 9:00 PM -->
<time datetime="{{date format="YYYY-MM-DD hh:mm A"}}">
    {{date published_at format="YYYY MM DD hh:mm A"}}
</time>
<!-- 2000 09 07 21:00 -->
<time datetime="{{date format="YYYY-MM-DD hh:mm"}}">
    {{date published_at format="YYYY MM DD hh:mm"}}
</time>

For months, use MM for short notations (like 09) and MMMM for longer notations (like September.) If you want to display time, the basic syntax is hh:mm:ss A for hours, minutes, seconds, and AM/PM. I am using the following.

<time datetime="{{date format="YYYY-MM-DD h:mm A"}}">
    {{date published_at format="YYYY/MM/DD h:mm A"}}
</time>

Further readings

You’ve successfully subscribed to Sunghyun Cho
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Your link has expired
Success! Check your email for magic link to sign-in.