Skip to content

ClickHouse now supports years 0000–9999

Mark Needham

ClickHouse 26.7 expands the supported DateTime64 range from 1900–2299 to 0000–9999.

In this video, I load nearly 20,000 events from Wikipedia's "On This Day" pages into ClickHouse. We use the url table function, JSONAsObject, and the JSON data type to explore dates that fell outside the old range, from ancient history to synthetic events in the distant future.

We also use age and dateDiff to calculate the gap between the first successful telephone test in 1876 and the first iPhone in 2007: 131 years, or just under 48,000 days.

Recent videos

YouTube Video: GwCRcRa8f3A

Open House

Open House 2026: Day 1 Keynote

The latest ClickHouse announcements, featuring real-world use cases from Shopify, Zoox, Visa, and Cisco.

YouTube Video: ZtvlCz7Ukg4

Open House

Fireside Chat: The state of data and AI with Bret Taylor (Sierra) and Aaron Katz (ClickHouse)

Aaron Katz (CEO, ClickHouse) and Bret Taylor (Co-Founder Sierra, Chairman of the Board, OpenAI) have an open conversation on the state of AI.

YouTube Video: FmS7VopaqNg

Open House, ClickHouse

How to build a great database (Alexey Milovidov)

The principles behind building a great database, and the new frontiers shaping the field.

Follow us

XBlueskySlackGithubTelegramMeetupRSS