
Dealing with dates
Working with time data
11. Time in T-SQL
Date and time date
Extracting dates and times
Doing arithmetic with dates
Converting date and time data
Building date and time data from parts
Summary and review


Our database can also store time data. At PerfectAir, time columns are used in the Route table for planned departure and arrival times. Let's see how time is represented in the database.


Select the DepartureTime column from the Route table.