how do analog watches know the date?
Most mechanical watches with a date window just have a date wheel that increments every 24 hours and runs from 1-31. The owner is expected to manually correct the date on the first of the month following any months that have fewer than 31 days (5 times a year).