# Datetimepicker

Tempus Dominus is the successor to the very popular Eonasdan/bootstrap-datetimepicker. The plugin provide a robust date and time picker designed to integrate into your Bootstrap project.

https://tempusdominus.github.io/bootstrap-4 (opens new window)

Datetimepicker

# Usage

To use date picker you can use the loading view boilerplate::load.datetimepicker (opens new window)

You can find an example of use here : datetimepicker.blade.php (opens new window)

@section('content')
<input type="text" class="datepicker">
<input type="text" class="datetimepicker">
@endsection

@include('boilerplate::load.datetimepicker')

@push('js')
    <script>
        $('.datepicker').datetimepicker({ format: "L" });
        $('.datetimepicker').datetimepicker();
    </script>
@endpush