| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.  You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.  | 
		
		 
		![]()  | 
	
		
			
  | 	
	
	
		
		|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 salad tossing sig guy 
			
		
			
				
			
			
			Join Date: Apr 2002 
				Location: mrthumbs*gmail.com 
				
				
					Posts: 11,702
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				php question: today Yesterday Tomorow
			 
			Is there a quick way to determine if a certain date is Tomorrow or Yesterday? 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | |
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Nov 2005 
				
				
				
					Posts: 19
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 { if (date('dmY',time()+86400)==date('dmY',$d)) return 't'; if (date('dmY',time()-86400)==date('dmY',$d)) return 'y'; if (date('dmY',time())==date('dmY',$d)) return 'n'; return ''; } returns t for tomorow, y for yesterday, n for same day and empty string for others... param must be an unix timestamp, for conversion see PHP mktime function...  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |