Military time writes every hour of the day as a two-digit number from 00 to 23, then appends the minutes as two more digits. 1840 therefore means 18 hours and 40 minutes past midnight — 6:40 PM on a 12-hour clock.
Read aloud it becomes "eighteen forty". A zero minutes value is spoken as "hundred", which is why whole hours end in "hundred"; minutes below ten take an "oh" in front, as in "seventeen oh five" for 1705.
Twelve-hour clocks split the day at noon. Hours 00 through 11 are AM, hours 12 through 23 are PM, and the two boundary hours are the ones people get wrong: 0000 is 12:00 AM and 1200 is 12:00 PM. 1840 sits on the PM side of that line, which is why it converts to 6:40 PM.
The same time, written five ways
Military (four digits)
1840
24-hour, with a colon
18:40
12-hour
6:40 PM
12-hour, two-digit hour
06:40 PM
Spoken
eighteen forty
1840 in numbers
1120Minutes after midnight
320Minutes until midnight
40°Smaller angle between the hands
38 / 48Half-hour slot of the day
Converting 1840 step by step
18 is past noon, so subtract 12: 18 − 12 = 6. That makes 1840 6:40 PM.
6:40 PM in military time
Going the other way is the same arithmetic in reverse. Take 6 and PM, drop the suffix, and add 12 to any PM hour — then watch the two twelve-o’clock cases, where 12 AM becomes 00 and 12 PM stays 12. 6:40 PM becomes 1840.