Is there a way to declare a variable or?

|
tonytogara 2022-06-16 08:24:26
Vikrant Kamble 2022-06-16 08:11:09

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

tonytogara 2022-06-16 08:25:45
Vikrant Kamble 2022-06-16 08:10:15
Column type is YEAR

Change it to date.

Vikrant Kamble 2022-06-16 08:29:58
Oki solved..👍
thank you all..
Rakesh Gadhwal 2022-06-16 09:22:54
Are you looking for AWS Managed Services & Support?

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

AWS Support Services – Supportflysupportfly.io
Supportfly offers enterprise-level AWS Support Services to help you with your Amazon cloud transformation and build on AWS with full confidence.
natghi2010 2022-06-16 09:31:25
how can i avoid this kind of repition
natghi2010 2022-06-16 09:32:44
laravel_discuss-125685.jpg

natghi2010 2022-06-16 09:33:11
is there a way to declare a variable or?
solotron2020 2022-06-16 09:34:23
Apart from cpanel redirect and header redirect for existing laravel page what other way can I redirect any existing laravel page #laravel #general pray
Param Rana 2022-06-16 09:40:45
Urgent opening
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

Param Rana 2022-06-16 09:42:27
Urgent Opening
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

thrima97 2022-06-16 10:28:43
I want to retrieve the start time & end time, and calculate the time difference. I want to your help setup t he c ontroler file
Bright 2022-06-16 10:34:21
thrima97 2022-06-16 10:28:43
I want to retrieve the start time & end time, and calculate the time difference. I want to your help setup t he c ontroler file

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

Bright 2022-06-16 10:35:10
I’m on my way to the office, not with my system but I can give you my GitHub account for you to search for computer rent
Bright 2022-06-16 10:37:28
Is also in my membership movie subscription both with laravel and php in my GitHub
thrima97 2022-06-16 11:13:13
public function timeduration()
{
$start_time = RunnerRecord::all(‘start_time’);
$end_time = RunnerRecord::all(‘end_time’);
$time = $end_time->diffForHumans($start_time);
dd($time);
}
anujrock1 2022-06-16 11:14:26
thrima97 2022-06-16 11:13:13
public function timeduration()
{
$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

thrima97 2022-06-16 11:15:04
anujrock1 2022-06-16 11:14:26
$start_time contains?

Show us output

Method IlluminateDatabaseEloquentCollection::diffForHumans does not exist.

thrima97 2022-06-16 11:15:22
anujrock1 2022-06-16 11:14:26
$start_time contains?

Show us output

Bad Method Call
Did you mean IlluminateDatabaseEloquentCollection::diffKeys() ?

thrima97 2022-06-16 11:16:23
I want, time duration display in table
anujrock1 2022-06-16 11:16:44
$start_time = RunnerRecord::all(‘start_time’);

Start_time value should be date time

You are assigning it collection

anujrock1 2022-06-16 11:17:33
laravel_discuss-125706.jpg

Bright 2022-06-16 11:17:49
thrima97 2022-06-16 11:16:23
I want, time duration display in table

Look, Google how to add days in laravel

Bright 2022-06-16 11:18:00
Is so simple
Bright 2022-06-16 11:18:44
In few minutes I will power my laptop and show you, is easy
anujrock1 2022-06-16 11:19:02
Bright 2022-06-16 11:17:49
Look, Google how to add days in laravel

He is doing wrong, in place of date time

He is using diffForHumans in two collections

Bright 2022-06-16 11:19:28
anujrock1 2022-06-16 11:19:02
He is doing wrong, in place of date time

He is using diffForHumans in two collections

You shouldn’t use this

anujrock1 2022-06-16 11:19:29
thrima97 2022-06-16 11:13:13
public function timeduration()
{
$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

Bright 2022-06-16 11:20:27
Carbon::now()->addDay()
Bright 2022-06-16 11:20:50
Check this code and let us know
Bright 2022-06-16 11:21:45
If you like you can even do it, Carbon::now()->addDays(3)
Bright 2022-06-16 11:26:32
If you like you can even do it, Carbon::now()->addmonths(3)
Bright 2022-06-16 11:27:49
I think I’m right, I’m not with my laptop, but I’m sure it will solve your problem
Bright 2022-06-16 11:36:21
So it can be start_time-end_time
Bright 2022-06-16 11:36:52
I don’t really know what you want to achieve, if is expiring date
rlawjddn00 2022-06-16 11:43:58
Candra 2022-06-15 14:05:27
I do not see many resources. Because I am completely beginner

Just make from crud

|