Results 1 to 10 of 10
Thread: PHP
Hybrid View
-
19th April 2006 16:00 #1
PHP
,
, 1 1900 . 16 2006 38823, 38823- 1 1900 . .
.
!I7-4770K@GA-Z97X-UD3H + CM Hyper 212 Evo + CM N500 + 4 x 4GB Geil Enhance Corca 1600MHz + Sapphire HD 5850 (Game edition)
-
19th April 2006 19:49 #2
- mktime(), Unix Timestamp 1970 , , . 60*60*24 (60 60 24 = 86400 ) 1900 . 1970 . ( 70*365+17 (17 ) = 25567).
:
PHP Code:<?php
$day = 19;
$month = 4;
$year = 2006;
$seconds = mktime(0, 0, 0, $month, $day, $year);
$days = $seconds / 86400;
$total_days = $days + 25567;
echo rpund($total_days); //round() - ;)
?>
, html .
''? * *
- !
...
-
20th April 2006 10:47 #3
...
, :PHP Code:<?php
echo round((time()-mktime(0, 0, 0, 1, 1, 1990))/86400, 0)." 01.01.1990.";
?>
round() ( manual- ).
time() 01.01.1970 .
mktime() 01.01.1970 , :
, , , , ,
01.01.1970 01.01.1990.
86400 (60*60*24).
, , , . .-, .
,
...
.. , ,
Edit:: , strtotime() manual-a php-, , .I wanna love you, but I better not touch
I wanna hold you, but my senses tell me to stop
I wanna kiss you, but I want it too much
-
20th April 2006 11:24 #4: , , , , ,
Originally Posted by LadyCroftFan

, .
, , , , . - ,
PHP Code:$day = 19;
$month = 4;
$year = 2006;
$seconds = mktime(0, 0, 0, $month, $day, $year);
PHP Code:$seconds = time();
''? * *
- !
...
-
20th April 2006 16:37 #5
, , , .
, , 10
, , 01.01.1970 .
..
I wanna love you, but I better not touch
I wanna hold you, but my senses tell me to stop
I wanna kiss you, but I want it too much
-
20th April 2006 20:43 #6
-
21st April 2006 18:15 #7
Originally Posted by LadyCroftFan
?
, , Airfan.
''? * *
- !
...




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in