GioGio

FUNZIONI DATE E TIME


Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 22
Vediamo le varie risposte alle nostre query:

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27

1 => SELECT NOW() AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
2 => SELECT NOW() + 0 AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
3 => SELECT CURRENT_TIMESTAMP + INTERVAL 2 MONTH AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
4 => SELECT SYSDATE() - INTERVAL 1 MONTH AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
5 => SELECT CURRENT_DATE() AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
6 => SELECT CURDATE() + INTERVAL 1 YEAR AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
7 => SELECT CURTIME() AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
8 => SELECT CURRENT_TIME AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
9 => SELECT DAYOFYEAR(CURDATE()) AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
10 => SELECT DAYOFMONTH(NOW()) AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
11 => SELECT DAYOFWEEK("2003-05-20") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
12 => SELECT WEEKDAY("2003-05-20") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
13 => SELECT YEAR(NOW()) AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
14 => SELECT QUARTER("2003-05-20") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
15 => SELECT MONTH("2003-05-20") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
16 => SELECT WEEK("2000-01-02") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
17 => SELECT WEEK("2000-01-02","1") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
18 => SELECT YEARWEEK("2000-01-02") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
19 => SELECT YEARWEEK("2000-01-02","1") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
20 => SELECT MONTHNAME("2003-05-20") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
21 => SELECT DAYNAME("2003-05-20") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
22 => SELECT HOUR(NOW()) AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
23 => SELECT MINUTE("12:23:00") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
24 => SELECT SECOND(CURTIME()) AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
25 => SELECT TIME_TO_SEC("200:10:59") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
26 => SELECT SEC_TO_TIME("720659") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
27 => SELECT PERIOD_ADD("200211",2) AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
28 => SELECT PERIOD_DIFF(200305,197807) AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
29 => SELECT EXTRACT(YEAR_MONTH FROM "1999-07-02 01:02:03") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
30 => SELECT EXTRACT(DAY_MINUTE FROM NOW()) AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
31 => SELECT UNIX_TIMESTAMP() AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
32 => SELECT UNIX_TIMESTAMP("2000-01-03 12:00:00") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
33 => SELECT FROM_UNIXTIME(946897200) AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
34 => SELECT FROM_UNIXTIME(946897200) * 1 AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
35 => SELECT FROM_UNIXTIME(UNIX_TIMESTAMP(),"%d %m %Y %h:%i:%s") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
36 => SELECT DATE_FORMAT(NOW(),"%d-%m-%Y") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
37 => SELECT TIME_FORMAT(CURTIME(),"%H:%I:%S") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
38 => SELECT DATE_FORMAT(CURDATE(),"%D-%M-%Y") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
39 => SELECT DATE_FORMAT(CURRENT_TIMESTAMP(),"%d-%m-%y %H:%i:%s") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
40 => SELECT DATE_FORMAT(INTERVAL 1 MONTH + NOW(),"%d-%m-%Y %H:%i:%s") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
41 => SELECT DATE_FORMAT(DATE_ADD(NOW(),INTERVAL 1 MONTH),"%d-%m-%Y %H:%i:%s") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
42 => SELECT EXTRACT(YEAR_MONTH FROM CURDATE())AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
43 => SELECT DATE_ADD(NOW(),INTERVAL 1 MONTH) AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
44 => SELECT DATE_ADD("2000-01-01",INTERVAL "2 1 30" DAY_MINUTE) AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
45 => SELECT DATE_FORMAT(FROM_DAYS(TO_DAYS(NOW()- INTERVAL 1000 DAY)),"%d-%m-%Y") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
46 => SELECT DATE_FORMAT(FROM_DAYS(TO_DAYS(NOW()+ INTERVAL 1000 DAY)),"%d-%m-%Y") AS DATA = 
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 26

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 27
47 => SELECT DATE_FORMAT(DATE_SUB(NOW(),INTERVAL 1 MONTH),"%d-%m-%Y %H:%i:%s") AS DATA =  


Esempio di utilizzo di alcune piccole funzioni: 

PHP: 



Vediamo il contenuto dell'array Array
Chiave = 1; Valore = Domenica
Chiave = 2; Valore = Lunedý
Chiave = 3; Valore = Martedý
Chiave = 4; Valore = Mercoledý
Chiave = 5; Valore = Giovedý
Chiave = 6; Valore = Venerdý
Chiave = 7; Valore = Sabato

Vediamo ora il contenuto dell'array $mesi
Chiave = 1; Valore = Gennaio
Chiave = 2; Valore = Febbraio
Chiave = 3; Valore = Marzo
Chiave = 4; Valore = Aprile
Chiave = 5; Valore = Maggio
Chiave = 6; Valore = Giugno
Chiave = 7; Valore = Luglio
Chiave = 8; Valore = Agosto
Chiave = 9; Valore = Settembre
Chiave = 10; Valore = Ottobre
Chiave = 11; Valore = Novembre
Chiave = 12; Valore = Dicembre

Esempio di uso delle funzioni descritte del presente script:

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 123

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 123

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 124

Funz. DataOggi() - Oggi, , nella nostra citta' bla bla ...
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 132

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 133

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 134

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 135

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 136

Funz. DataEstesa() - Oggi, , nella nostra citta' bla bla ...
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 143

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 143

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 144

Funz. NomeOggi() - Oggi e'
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 150

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 150

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 151

Funz. NomeDomani() - Hai tempo fino a domani,
Funz. Scadenza() - Ricorda che l'offerta scadra' fra
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 159

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 159

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 160
6 giorni, cioe'il

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 169

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 169

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 170

Funz. QuantiGiorni() - Tra il 01-01-2000 ad oggi sono passati giorni.

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 178

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 178

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 179

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 180

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 180

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 181

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 182

Funz. QualeData() - Tra 5 anni e 6 mesi sara' .

Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.giovannigiorgi.it/home/tutorial/date-time.php on line 195