Search
 
SCRIPT & CODE EXAMPLE
 

PHP

http://www.finalclap.com/faq/81-php-afficher-date-heure-francais

<?php
// setlocale(LC_TIME, 'fr_FR.UTF8');
// setlocale(LC_TIME, 'fr_FR');
// setlocale(LC_TIME, 'fr');
setlocale(LC_TIME, 'fra_fra');
 
echo strftime('%Y-%m-%d %H:%M:%S');  // 2012-10-11 16:03:04
echo strftime('%A %d %B %Y, %H:%M'); // jeudi 11 octobre 2012, 16:03
echo strftime('%d %B %Y');           // 11 octobre 2012
echo strftime('%d/%m/%y');           // 11/10/12
?>
Comment

http://www.finalclap.com/faq/81-php-afficher-date-heure-francais

<?php
echo date('Y-m-d H:i:s');  // 2012-10-11 15:35:53
echo date('l j F Y, H:i'); // Thursday 11 October 2012, 15:35
echo date('d F Y');        // 11 October 2012
echo date('d/m/Y');        // 11/10/12
?>
Comment

PREVIOUS NEXT
Code Example
Java :: import collectors java 
Java :: spigot execute command as console 
Java :: java get appdata path 
Java :: how to detect operating system in java 
Java :: java create directory if not exists 
Java :: java enum get nex 
Java :: java console text color 
Java :: import android.support.v7.app.ActionBarActivity; 
Java :: How do you nuke japan 
Java :: isprime check formula java 
Java :: Junit 5 console input test 
Java :: java filewriter new line 
Java :: main code of java 
Java :: how to format a datetime object to show date and time and milliseconds in java 
Java :: java string to boolean 
Java :: ranfom number between 1 to 100 java 
Java :: generate random letters and numbers in java 
Java :: get number of lines in a file java 
Java :: recyclerview snaphelper callbacks android 
Java :: java random between 
Java :: internet access android manifest 
Java :: android studio edittext text change listener 
Java :: edittext hint color 
Java :: array slice java 
Java :: android studio allow http 
Java :: Recompile with -Xlint:deprecation 
Java :: coding fill method java 
Java :: difference between premitive and non-premitive 
Java :: default night mode not working 
Java :: bungeecord plugin add configs 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =