Php function to echo month name in specific locale

  • Status Closed
  • Budget $10 - $30 USD
  • Total Bids 20

Project Description

<?php echo date("M Y", strtotime($eventsortdate)); ?>

I need to be able to echo month name in 3 specific locales

<?php if ( ICL_LANGUAGE_CODE=='fr' ) { echo date("M Y", strtotime($eventsortdate)); }

elseif ( ICL_LANGUAGE_CODE=='en' ) { echo date("M Y", strtotime($eventsortdate)); } elseif ( ICL_LANGUAGE_CODE=='de' ) { echo date("M Y", strtotime($eventsortdate)); } ?>

fr_FR, de_DE, en_UK

Get free quotes for a project like this
Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online