|  | 
| 
 PHP Guys - strtotime Help PHP Code: 
		 | 
| 
 <?php // set the default timezone to use. Available since PHP 5.1 date_default_timezone_set('UTC'); // Prints something like: Monday echo date("l"); // Prints something like: Monday 15th of August 2005 03:12:46 PM echo date('l dS \of F Y h:i:s A'); // Prints: July 1, 2000 is on a Saturday echo "July 1, 2000 is on a " . date("l", mktime(0, 0, 0, 7, 1, 2000)); /* use the constants in the format parameter */ // prints something like: Mon, 15 Aug 2005 15:12:46 UTC echo date(DATE_RFC822); // prints something like: 2000-07-01T00:00:00+0000 echo date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000)); ?> | 
| 
 Thanks KRL, but I guess I should clarify. I'm parsing logfiles already written in that date format I gave. Strtotime won't convert to timestamp. I guess I could make a complicated scanf statement but I figured that date format was HIGHLY standard. | 
| 
 PHP Code: 
		 | 
| All times are GMT -7. The time now is 04:50 AM. | 
	Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
	
	©2000-, AI Media Network Inc123