The time data type
Mark Needham
ClickHouse 25.6 introduced the Time data type for storing time values. This video covers how to use the new Time and Time64 data types in your ClickHouse queries and tables.
What we'll cover:
- Creating Time values with casting and toTime() function
- Using Time64 for millisecond/nanosecond precision
- Required settings: enable_time_time64_type
- Practical example with running splits data
- Aggregating Time data (max, min, and workarounds for average/quantiles)
- Converting between Time types and Unix timestamps
We'll work through a real example using running data with moving time and elapsed time columns, showing how Time types make the data more readable compared to storing raw seconds.

ClickHouse at DoorDash
Patrick Rogers, a staff software engineer

Introducing ClickStack: Live Demo & Q&A - APJ
Mike Shi, Principal Product Manager @ ClickHouse

Premiers pas avec ClickHouse
Libérez la puissance de vos données et rejoignez notre webinar « Bien démarrer avec ClickHouse » ! Êtes-vous prêt à transformer votre manière de gérer les données ? Découvrez ClickHouse, le système de gestion de base de données colonnaire open source ultra-rapide qui révolutionne l’analytique des données ! Que vous soyez data scientist, ingénieur ou analyste métier, ce webinar est fait pour vous. Aucune expérience préalable n’est requise.