3
I’m creating a field using the Laravel Collective
however I am having problems with the field date, first I am not able to create the field DATATIME and another problem is that it is coming the formed of the bank, as I can do to solve these two problems ?
{!! Form::date('Visivel_Ini', \Carbon\Carbon::now(), ['class' => 'form-control']) !!}
When I put this Carbon::now() it returns me only the date, how to do to return tbem the time ?
– Renan Rodrigues
@Renanrodrigues Carbon::now() will actually return a format like this:
2016-06-24 15:18:34
same as specified in doc api http://carbon.nesbot.com/docs/. You need exactly what?– novic
I need to set today’s date and time in the field
– Renan Rodrigues
I did the editing...
– novic