Definitely column definition. Looking at your controller, you’ve defined that start at should have data type Y-M-D so it means column type should just be DATE and don’t put column size on your database
Change it to date.
thank you all..
We provide businesses with end-to-end AWS cloud services to build, scale, optimize, and manage cloud solutions. We deliver innovative solutions and transform experience into products that you expect, whether it is your first AWS application development or your first migration to AWS:- https://supportfly.io/aws-server-management.php
For more info:-
Mail:- contact@supportfly.io
Website:- https://supportfly.io/
Contact:- +91-76159 52893
#aws #awscloud #awsmanagedservices #awsmanagedservicesandsupport #awscloudservices #awsservices #cloud #cloudservices #cloudserver #servermanagement #servermanagementcompany #servermanagementservices #serversupport #server #serversupportservices #servermonitoring
Supportfly offers enterprise-level AWS Support Services to help you with your Amazon cloud transformation and build on AWS with full confidence.

Name:- Laravel Developer
Mode:- Permanent & Work on site ( Ahmedabad)
Salary :- As per the company norms
Experience:- 2 to 8 yrs
Skill sets:- Strong knowledge of PHP web framework Laravel.
Understanding the fully synchronous behavior of PHP.
Understanding of MVC design patterns.
Basic understanding of front-end technologies, such as JavaScript, HTML5, and CSS3.
Knowledge of object oriented PHP programming.
Understanding accessibility and security compliance {{Depending on the specific project}}.
Strong knowledge of the common PHP or web server exploits and their solutions.
Understanding fundamental design principles behind a scalable application.
User authentication and authorization between multiple systems, servers, and environments.
Proficient understanding of code versioning tools, such as Git and all repository.
Interested Candidates send your cv at sourcing@lebenswerk dot co dot in
Java Developer
Experience: 2 to 4 Year
Salary:- 4LPA to 10LPA
Location:- Gurgaon
Key Skill
assembly language , c# , java , c , java programmer , oops , software engineering , jquery , sql
Interested Candidates send your cv at sourcing@lebenswerk dot co dot in
I have build something like that,where users rent a laptop for 2.5 hours and the system will now remind them when there time expires, laravel has an inbuilt carbon for date and time
{
$start_time = RunnerRecord::all(‘start_time’);
$end_time = RunnerRecord::all(‘end_time’);
$time = $end_time->diffForHumans($start_time);
dd($time);
}
{
$start_time = RunnerRecord::all(‘start_time’);
$end_time = RunnerRecord::all(‘end_time’);
$time = $end_time->diffForHumans($start_time);
dd($time);
}
$start_time contains?
Show us output
Show us output
Method IlluminateDatabaseEloquentCollection::diffForHumans does not exist.
Show us output
Bad Method Call
Did you mean IlluminateDatabaseEloquentCollection::diffKeys() ?
Start_time value should be date time
You are assigning it collection

Look, Google how to add days in laravel
He is doing wrong, in place of date time
He is using diffForHumans in two collections
He is using diffForHumans in two collections
You shouldn’t use this
{
$start_time = RunnerRecord::all(‘start_time’);
$end_time = RunnerRecord::all(‘end_time’);
$time = $end_time->diffForHumans($start_time);
dd($time);
}
Bright check here start_time and end_time
Just make from crud