Add useCurrent: false
to your code, which should appear
$('.form_datetime').datetimepicker({
language: 'pt',
format: 'yyyy-mm-dd hh:ii:ss',
autoclose: true,
todayBtn: true,
minuteStep: 10,
useCurrent: true
});
Another solution is to set the field ... once you open the modal.
Your modal has an id, right? we usually open the modal so $("#meumodal").modal();
Once you open the modal, you can set the value of the field within this modal ....
$("#meumodal").find('.form_datetime').val(NOVA_DATA);
The variable nova_data, you can create it with javascript, or with php .... a technique that I use a lot is, create an input
<input type="hidden" value="<?php echo date('Y-m-d H:i:s'); ?>" id="data_time_atual>
This makes it much easier to get the time with javascript
var hora = $("#data_time_atual").val();
Now just set NOVA_DATA
var hora = $("#data_time_atual").val();
$("#meumodal").find('.form_datetime').val(hora );
Here you also have the documentation link
link