I'm trying to figure out a way, but cannot seem to find, how to set the load value of a Tempus Dominus datetimepicker field.
I have seen the options available here: https://tempusdominus.github.io/bootstrap-4/Options/#format
At the moment when the field has a value selected, it returns the value 02/13/2019 1:37 PM
. But if say, I'm editing a record, I want to be able to edit the value using the field, but all it does is open in blank at the moment.
I store my particular field in as a timestamp in MySQL so like YYYY-MM-DD HH:MM:SS
, so I am wondering, is there a way to set the loaded date and time to my field?