i need to give user to select a date and a time and get that as an input here i have added the basic code i use and i need to restrict user only to add future date and a time not past dates or time! 

```js
 $(function () {
   var currentDate = new Date();
            $('#datetimepicker1').datetimepicker({
                //viewMode: 'years',
                format: 'DD/MM/YYYY'

            });

            $('#datetimepicker2').datetimepicker({
                format: 'LT'
            });

        });
```

```html
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">

<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
 <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.7.14/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css">
<div class="form-group">
                            <label class="control-label col-sm-4" for="pwd"><a style="color:red !important; font-size:18px">* </a>Select a date:</label>
                            <div class="col-sm-8">
                                <div class="form-group" style="margin-right: 0px !important; margin-left: 0px !important;">
                                    <div class='input-group date' id='datetimepicker1'>
                                        <input name="datepicker" id="datepicker" type='text' class="form-control" min="2015-01-01" required />
                                        <span class="input-group-addon">
                                            <span class="glyphicon glyphicon-calendar"></span>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!--Time picker-->
                        <div class="form-group">
                            <label class="control-label col-sm-4" for="pwd"><a style="color:red !important; font-size:18px ; font-size:18px">* </a>Select a time:</label>
                            <div class="col-sm-8">
                                <div class="form-group" style="margin-right: 0px !important; margin-left: 0px !important;">
                                    <div class='input-group date' id='datetimepicker2'>
                                        <input name="timepicker" id="timepicker" type='text' class="form-control" required />
                                        <span class="input-group-addon">
                                            <span class="glyphicon glyphicon-time"></span>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
```

my question is i need to allow user only to put future date not past ones!