Sonnet 3.5 is unaware of current date

Quite frequently, when debugging, Sonnet suggests the dates are in the future and attempts to rectify that ‘error’, rather than work on the actual problem.

It’s quite challenging to convince the AI it’s 2025, and on occasion it’s then accepted what I’ve said and hardcoded the date (because it didn’t actually believe me!)

Is there a way to ensure the AI knows the current date?

1 Like

This is pretty common, most fixed it by including the current date time in he system prompt.

You can also ask it to get the current through powershell etc that also works.

Thanks for the suggestion. I’ve thrown this to the team to see if we can add this kind of context into the query that goes to the LLM.