int strtotime ( string time [, int now] ) converts strings to a timestamp : strtotime « String « PHP
- PHP
- String
- strtotime
int strtotime ( string time [, int now] ) converts strings to a timestamp
<?
print strtotime("22nd December 1979");
print strtotime("22 Dec. 1979 17:30");
print strtotime("1979/12/22");
?>
Related examples in the same category