Level 1
{!! Form::input('datetime','published_at', date('Y-m-d H:i'), ['class' => 'form-control']) !!}
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I can make input for time or date like this:
Form::time
Form::date
How'd I make input for time+date (for saving as timestamp 'created_at')?
{!! Form::input('datetime','published_at', date('Y-m-d H:i'), ['class' => 'form-control']) !!}
Please or to participate in this conversation.