As a range or interval specifier, many (most?) non-programmers will assume the interpretation of “midnight” that favours them in any subsequent dispute.
In practice this often means that “from midnight on Monday to midnight on Tuesday” is a 48-hour interval so far as consumers are concerned. I recommend advertising things like cut-off times as “11:59pm” and friends, when possible.
Also, my time formatter turns “12:00” into “12 noon” following weary experience of people who confuse 12:00 with midnight.
In practice this often means that “from midnight on Monday to midnight on Tuesday” is a 48-hour interval so far as consumers are concerned. I recommend advertising things like cut-off times as “11:59pm” and friends, when possible.
Also, my time formatter turns “12:00” into “12 noon” following weary experience of people who confuse 12:00 with midnight.