How to display Date and Time on WordPress

Sean Doyle

Sean Doyle is an engineer from Los Angeles, California. Sean's primary focuses include Cyber Security, Web Spam, and Online Marketing.

11 Responses

  1. Jenaro says:

    Hi guys!
    My web is in spanish and the date used with the shortcode is in english. Do you know how I can change that?
    Best regards.

  2. D'Jason Rocker says:

    Hello, this is quite interesting.
    Could you please change this PHP code in to shortcode for me. I am very new to wordpress and I don’t know how to do it.


  3. chris says:

    Hi. The article title is how to display the date and time. Does this code display the date only? I just want the local time to appear at the very top of my WP site, near the top most menu. Site is not live yet, just working on it using MAMP.
    Thank you so much for any help.

  4. Jon says:

    Thanks for the info.

    Worked like a charm.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.