Microcomputers got it slowly. An early real-time clock card for the Apple II was the ThunderClock; this was so popular that it basically set the standard and all later clock cards emulated it. (And Apple supported it in ProDOS.)
But the ThunderClock came out before ProDOS and came with a DOS 3.x patch that would store the time and date a file was created in its directory entry, so you could see it when you did a CATALOG. But... the date and time was actually stored as part of the file's name, so the patch also caused DOS to ignore that part of the filename; in essence, you had to use much shorter filenames because the date and time took up so much of the filename! And if you were trying to access the files using a DOS that didn't have that patch, you had to type in the date and time as part of the file name when loading it! It was a dumb idea. The things we put up with in those days...