Connect with us


How to

How to Display the Current Time in WordPress Local Language




How To Display The Current Time In WordPress Local Language

This code allows you to display the current local time, in the language the WordPress installation has been configured to use.

Add this code in your theme files, where you want to display current time, localized.<?php echo date_i18n('j F', time()); ?>


How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

READ  How To Install Photoshop On Chromebook

Shedrach uzogazie Techfarns co-founder and an aspiring entrepreneur who keeps a close eye on open source, tech giants, and security. Get in touch with him by sending an email —

%d bloggers like this: