How to get a database table duration column value in bootstrap date picker maxdate...