Jump to content

problems with mktime


otuatail

Recommended Posts

Hi. This function returns a larger value than it should

 

$d = "25-Feb-2010 13:00:24";
echo "Start: " . $d . "<br>";
$t = mktime ($d);
echo "End: " . date('d-M-Y H:i:s' ,$t) . "<br><br>";

 

Start: 25-Feb-2010 13:00:24

End: 26-Feb-2010 01:26:17

 

Any help on this please.

 

TIA Desmond.

 

Link to comment
https://forums.phpfreaks.com/topic/193342-problems-with-mktime/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.