library datetime
        A date time helper for laravel, Convert string date and other more
    
            
                
                    
                    
                    
                    
                        
                            
    
        
        
            itadventure/datetime
            A date time helper for laravel, Convert string date and other more
         
     
    
        
            -  Tuesday, January  9, 2018
 
                                -  by itadventure
 
                            -  Repository
 
            -  0 Watchers
 
            -  0 Stars
 
            -  19 Installations
 
        
     
    
        
                            - PHP
 
            
            -  0 Dependents
 
            -  0 Suggesters
 
            -  1 Forks
 
            -  0 Open issues
 
            -  3 Versions
 
            -  12 % Grown
 
        
     
 
    
        
            
    
    
    
Installation
You can install from laravel 5.1 > .To install the package, (*1)
$ composer require itadventure/datetime
If you need to use by alias just put this line into config/app.php, (*2)
'DT'      => Itadventure\Datetime\DateTime::class,
Helper functions
The available helper functions are given belows:, (*3)
| Function | 
Details | 
| DT::dateWith12hTime($date) | 
01-01-2018 01:00:00 PM | 
| DT::onlyDMY($date) | 
01-01-2018 | 
Example
$date = '2018-01-01 13:00';
echo DT::dateWith12hTime($date); //Output: 01-01-2018 01:00:00 PM
echo DT::onlyMY($date); //Output: January 2018
Todos
License
MIT, (*4)