The date and time when the article was published is shown below the article title.
How do I show Swatch Internet Time there instead of local time?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityThe date and time when the article was published is shown below the article title.
How do I show Swatch Internet Time there instead of local time?
You can use 'B'
as the format for the_date()
and/or the_time()
to generate Swatch Internet Time format.
If you're modifying a theme, just find the references to the_date()
and/or the_time()
in the template files and change the value of the format
parameter.
If you're creating a plugin, you can hook into the get_the_date
and/or get_the_time
filters.