Use strftime
: http://php.net/manual/en/function.strftime.php
<?php
setlocale(LC_TIME, "fr_FR");
echo strftime(" in French %d.%M.%Y and");
(not sure about that %d.%M.%Y but you can read documentation)
More Related Contents:
- Is this curl post or get?
- Calling a function on click of button in HTML/PHP [closed]
- PHP mkdir with form input and security
- Can’t insert data into mysql database using PHP [closed]
- Invalid argument supplied for foreach()
- startsWith() and endsWith() functions in PHP
- How can I use PDO to fetch a results array in PHP?
- The plugin generated X characters of unexpected output during activation (WordPress)
- Is micro-optimization worth the time?
- “SMTP Error: Could not authenticate” in PHPMailer
- php var_dump() vs print_r()
- Get first 100 characters from string, respecting full words
- How to write a stored procedure using phpmyadmin and how to use it through php?
- Doing calculations in MySQL vs PHP
- How to embed images in html email
- Is there way to keep delimiter while using php explode or other similar functions?
- CodeIgniter – best place to declare global variable
- Prevent nginx 504 Gateway timeout using PHP set_time_limit()
- Add fee based on specific payment methods in WooCommerce
- array_unique and then renumbering keys [duplicate]
- My pattern isn’t matching a ISO style date, why? [duplicate]
- How to build a JSON array from mysql database
- How to display a date as iso 8601 format with PHP
- How to generate unique id in MySQL?
- checking if a number is float in PHP
- How to properly use Bearer tokens?
- Is there a way to redefine a type hint to a descendant class when extending an abstract class?
- Ensuring valid UTF-8 in PHP
- How to get last insert id in Eloquent ORM laravel
- Use a PHP variable in JQuery