Class Date
	
	A date time object that renders into a string formatted for HTTP header fields.
	 
	
		- 
ICanBoogie\DateTime
			
			
		
 
		- 
			┗
ICanBoogie\HTTP\Headers\Date			
			
			
		
 
	
	
		
		
		Namespace: ICanBoogie\
HTTP\
Headers
		
				See:
				http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
			
Located at Headers/Date.php		
	
 
		Methods summary
		
		
			
			
				
				 public static
				
				
				from(  $source,  $timezone = null )
				
				
			
			
				
			
			
				
			
		 
		
			
			
				
				 public 
				
				
				__construct( string|integer|DateTime $time = 'now', DateTimeZone|string $timezone = null )
				
				
			
			
			
				Constructor.
					Parameters
					
						$time 
						If time is provided as a numeric value it is used as
"@{$time}" and the time zone is set to UTC.
 
						$timezone 
						A \DateTimeZone object representing the desired
time zone. If the time zone is empty utc is used instead.
 
					
 
			 
		 
		
			
			
				
				 public 
				
				
				__toString( void )
				
				
			
			
				Formats the instance according to the RFC 1123.
			 
			
				Formats the instance according to the RFC 1123.