Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php date in italiano

$data = "2000-12-01 00:15:27";
$mesi = array(1=>'gennaio', 'febbraio', 'marzo', 'aprile',
               'maggio', 'giugno', 'luglio', 'agosto',
               'settembre', 'ottobre', 'novembre','dicembre');

$giorni = array('domenica','lunedì','marted','mercoledì',
               'giovedì','venerdì','sabato');

list($sett,$giorno,$mese,$anno) = explode('-',date('w-d-n-Y',strtotime($data));

echo $giorni[$sett],' ',$giorno,' ',$mesi[$mese],' ',$anno;
Comment

php italian date

setlocale(LC_TIME, 'ita', 'it_IT');
Comment

PREVIOUS NEXT
Code Example
Php :: define return type for php function string or boolean 
Php :: wp reserved image size name 
Php :: foreign key in php 
Php :: php check if all array values are the same 
Php :: php sodium extension xampp 
Php :: how to download image from url from a particular div in php 
Php :: greater than or equal to in php 
Php :: php password verify 
Php :: Entity of type "DoctrineCommonCollectionsArrayCollection" passed to the choice field must be managed. Maybe you forget to persist it in the entity manager? 
Php :: php typeof 
Php :: phpmyadmin centos 8 
Php :: array_walk in php 
Php :: php check if all values in array are equal 
Php :: @foreac laravel 
Php :: php disable buutton 
Php :: add image php database 
Php :: how to convert youtube url to embed code in php 
Php :: custom autoload without composer php psr4 
Php :: last_insert_id() php 
Php :: php add array to array 
Php :: Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead. 
Php :: check the route type in laravel 
Php :: storepublicly laravel 
Php :: run codeigniter 4 with spark 
Php :: php check image size before upload 
Php :: laravel request unique 
Php :: php How to add custom button in wordpress admin section 
Php :: Session/Session.php error codeigniter 3 
Php :: strip non numeric and period php 
Php :: localhost redirected you too many times. php 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =