Project6 minutes to read

Does AI know today's date? Where a chatbot's date comes from

A model has no clock. Here's where a chatbot gets today's date, why it sometimes names a year long gone, and how to set it right.

Ask two different chatbots what today's date is and you can get two different answers. One gives the right day. The other names a day months or even years in the past, and says it as calmly as it says everything else. Neither of them looked at a calendar. A language model has no clock inside it at all.

So every date a chatbot gives you comes from one of two places. Either the program around the model wrote today's date into the conversation before you typed a word, or the model guessed from the text it was trained on. The rest of this post is what each of those means, and what follows from it.

A model is a file that reads and writes text

An AI model, the thing at the centre of every chatbot, is a very large file of numbers (parameters). A program feeds it text, and it works out the next piece of a word (a token), then the next, then the next. Feed it the same text with the same settings and it does the same sums.

Nothing in that file ticks. It doesn't know whether it's being run for the first time or the millionth, on a Monday or a Sunday, the week it was made or years later. Your phone knows the date because it has a clock and checks it against a time server over the internet. A model has neither. It only has the text in front of it.

A room full of old newspapers

Picture someone in a room with no window and no clock. For years they read newspapers, every one that came in, and then one day the deliveries stop and the door is shut. After that, visitors come by, slide a note under the door, and wait for a reply written on the back.

If a note says "It's Thursday the 12th, what should I cook tonight?", the person in the room knows the date. They didn't work it out. They read it.

If a note just says "What's the date today?", they have to guess. The only evidence is the pile of newspapers. The newest one they remember was from a certain month, so a sensible guess is "around then". They have no way to know that the door shut long ago and visitors have been coming for a year since.

That room is a model. The newspapers are its training text. The note under the door is everything in the chat, including parts you never see.

Where the right date comes from

Most chat programs send the model more than your message. Before your words, they put a block of hidden instructions (the system prompt): who the assistant is, how to behave, and often a line saying today's date. That line is written by the program, which reads it from the clock of a computer, either the company's server or your own device. The model reads it the way the person in the room reads the note.

So when a chatbot tells you the right date, the credit goes to the program around it. The model simply repeated what it was handed.

Why chatbots get the date wrong

There are a few ordinary ways it goes wrong, and they all come back to the room.

Nobody wrote the date down

Some programs don't add the date. Many tools for running a model on your own computer leave the hidden instructions short or empty. Then the model guesses from its newspapers, and its guess usually sits around the time its training text was gathered (its knowledge cutoff).

The newest newspapers are thin

The guess often lands even earlier than that. When training text is collected, the world hasn't finished writing about the last few months. Articles, reviews, look-backs and arguments about any given month keep appearing for years afterwards. So the final stretch before the cutoff is thinly covered in the pile, and the model's sense of "now" leans towards the time it read most about. Ask it the year and it may name one before the true end of its training.

The note is stale

The program writes the date when it builds the hidden instructions. In some programs that happens once, when you start the chat. Leave the window open overnight and carry on in the morning, and the note may still say yesterday. The person in the room has no reason to doubt it.

The note is right and the sums are wrong

Even with the correct date in front of it, a model can stumble on what follows from it. "What day of the week is the 3rd of next month?" and "How many days until the end of term?" are counting questions, and a model writes its answers by predicting words. It doesn't run a calendar. It often gets them right. Sometimes it confidently doesn't.

The time zone is someone else's

If the date came from a server in another country, it may already be tomorrow there, or still yesterday. Late in the evening or early in the morning, the note can be a day out for you.

Searching the web doesn't give it a clock either

Some chat programs let the model search the web. A search result may carry a date, and the model can read that, which helps. It's still a note under the door, though. A page can be old, or show the day it was written instead of today's, and the model has nothing to hold it up against.

How to check, and how to set it right

The useful test is to open a brand-new chat, with nothing else in it, and ask what today's date is. Then compare with your own calendar. If it's right, the program is almost certainly writing the date in. If it's off by months or years, it isn't, and the model is guessing.

Asking the model where it got the date tells you less than you'd hope. It may say it can't know the date even with the line sitting right there, or describe a source that doesn't exist. Its account of itself is written the same way as everything else, one predicted word at a time.

The fix is plain. When the date matters, put it in your message: "Today is Tuesday the 14th. How many working days until the end of the month?" Now the note says it, and you can see that it says it. If you run an open model on your own computer, most tools that do this let you write your own hidden instructions, and you can add the date there. Remember that a date you type in stays the same until you change it, unless the tool fills it in for you each time.

The same is true when a model is spread across homes

At DeepNile we're building a network where ordinary home computers run one big open model together, each holding a part of it. When this was written, in November 2026, the program was not released yet and the network was not open. Cutting a model into parts doesn't give any part a clock. Each computer does its share of the sums on the text it's handed, and How DeepNile works shows how that text travels from one part to the next. Whatever the model knows about today has to arrive in that text, exactly as it does in any chatbot.

If you'd like to see the experiments behind that chain, numbers and failures included, they're all written up in the Lab.org.

More about the Project

All posts about the Project