Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php date month italian

$oldLocale = setlocale(LC_TIME, 'it_IT');
echo utf8_encode( strftime("%a %d %b %Y", $row['eventtime']) );
setlocale(LC_TIME, $oldLocale);
Comment

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 :: shortcode in wp 
Php :: get value from url in laravel blade 
Php :: laravel route match 
Php :: multiple submit button in php 
Php :: laravel @disabled in laravel-9 
Php :: php knoww if array has duplicate values 
Php :: get google map api 
Php :: check if checkbox is not checked laravel 8 
Php :: html to pdf in php 
Php :: recursive binary search php 
Php :: php get first day of month 
Php :: autoload file in laravel 
Php :: acf create post with fields 
Php :: php lowercase assoc array 
Php :: how to upload two files on same form different path in codeigniter 
Php :: woocommerce_order_status_changed add action 
Php :: delete and return response and nocontent laravel 
Php :: composer create project 
Php :: Laravel - Query Builder Left join 
Php :: multi theme laravel 
Php :: .htaccess Prevent access to php.ini 
Php :: laravel parse markdown 
Php :: protected gaurded in laravel 
Php :: php How to add custom button in wordpress admin section 
Php :: session() in lumen 
Php :: php define array first 10 number 
Php :: Advanced Custom Fields get sub field image 
Php :: string between two strings 
Php :: Laravel nova resolveUsing 
Php :: ci4 throw new exception 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =