ThomasJSmart
Programmer
- Sep 16, 2002
- 634
I know there are some problems with dates before 1970 but looking on internet these only seem to be on windows systems. our server is a linux server. Red-hat to be precies. Its running on apache 1.3 with php 4.
This is whats happening tho:
$date = "21/03/1955";
$date = explode('/',$date);
$date = mktime(11,0,0,$date[1],$date[0],$date[2]);
echo $date;
this echos -62
why why why? and how do i fix it?
Thank you,
Thomas
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
This is whats happening tho:
$date = "21/03/1955";
$date = explode('/',$date);
$date = mktime(11,0,0,$date[1],$date[0],$date[2]);
echo $date;
this echos -62
why why why? and how do i fix it?
Thank you,
Thomas
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!