Change the output date format of "_EventStartDate"

Home Forums Calendar Products Events Calendar PRO Change the output date format of "_EventStartDate"

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1073560
    Jonathan
    Participant

    We need to change the Date format of the custom field “_EventStartDate” in order to use it for output in frontend and filter queries.

    The format is “YYYY-MM-DD HH:MM:SS”. We need it in the WordPress Date format like this “l, d. m. Y”.
    Is there a way to rewrite the format? Some custom function and/or custom shortcode?

    Thanks in advance

    #1074060
    Geoff B.
    Member

    Good evening Jonathan and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.
    We will gladly try to assist you on this topic.

    As a first step, I would recommend reading my colleague Geoff’s great post on a related topic.

    To make a long story short, I would really advise against trying to modify the date format within the plugin itself. This is likely to cause some pretty serious issues.

    But, as the post suggests, you can absolutely customize things, including the format of certain values in a very specific context (leaving other views and context untouched) using the instructions contained in our Themer’s guide.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1084392
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change the output date format of "_EventStartDate"’ is closed to new replies.