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?


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.

  • 1
    You need to put this in Settings > General > Time Format. – stommestack Jul 30 '14 at 17:39
  • Also, set the time zone to UTC or it won't work! – stommestack Jul 30 '14 at 17:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.