Mega Code Archive

 
Categories / Php / Strings
 

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"); ?>