Control date format

Home Forums Calendar Products Events Calendar PRO Control date format

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #950824
    dotdash
    Participant

    Hello there,

    I am displaying the start date with: _EventStartDate

    Can I control this format? YYYY-MM-DD HH:MM:SS

    I would like to only display the day and numeric date.

    Cheers,

    Spencer

    #950879
    Brian
    Member

    Hi Spencer,

    I can help point you in the right direction on this.

    You are going to have to use php to change the date format.

    The answer to this post lays out how to change the formats:

    http://stackoverflow.com/questions/2487921/convert-date-format-yyyy-mm-dd-dd-mm-yyyy

    This page lists all the different formats for php

    http://php.net/manual/en/function.date.php

    Let me know if you have any follow up questions.

    Thanks

    #953971
    dotdash
    Participant

    This reply is private.

    #954097
    Brian
    Member

    Unfortunately, no it is not possible to move that file and edit it in the theme.

    Only the files located in the view directory can be moved and edited.

    #967676
    Brian
    Member

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Control date format’ is closed to new replies.