WP Business Directory Pro Forums General Help Displaying Date

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  admin 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1597

    johnzena
    Participant

    I noticed there are only two choices for displaying the date, that is dd/mm/yy yy-mm-dd. This site is in a country where the preferred date method is mm/dd/yy. Is there anyway to add this as an option? Will confuse readers if not possible.

    #1599

    admin
    Keymaster

    Hi, currently these are the only 2 options. I will look in to adding more options in later updates.

    If you have customised your own template (and have a little code knowledge) you could modify the date in the front-end by using some PHP code eg. :

    $originalDate = “2010-03-21”; //The initial date
    $newDate = date(“d-m-Y”, strtotime($originalDate)); //The new date display

    Kind regards
    James

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.