@ziben69 The easiest method would be to convert the dates to Unix timestamps, and deduct the start date from both the end and current time. You’ll then be able to see how “close” the current time is to the end date.
Jul 20, 2018
2
Level 3
date progress bar - Laravel 5+, Bootstrap 4
Hello all,
can you help me with progress bar?
I have two columns: startDate, endDate, and progress bar from Bootstrap 4:
$table->date('startDate');
$table->date('endDate');
how can I set startDate like a minValue, and endDate like a maxValue, and step like one day? I would like to start bar with the start date. Thanks.
Please or to participate in this conversation.