A simple, scriptable widget for the lock screen that shows the exact progress in time between two dates.
The number of decimal places, the heading and of course the start and end date can be adjusted in the script.
const DECIMAL_PLACES = 6;
const HEADLINE = "Title";
const START_DATE = new Date(2023, 0, 1, 12, 0, 0, 0); // Date(year, month, day, hours, minutes, seconds, milliseconds);
const END_DATE = new Date(2023, 3, 14, 16, 25, 34); // 2023-04-14T16:25:34