Connect with us

DOWNLOAD APK/APP

How to

How to Display the Current Time in WordPress Local Language

Published

on

5
(1)

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.

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

Credit: Github.com

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 — techfarns@gmail.com

%d bloggers like this: