Advanced Programming in the UNIX Environment: Week 04, Segment 8 - time(3) is an illusion
Channel: cs631apue
Date: 28/09/2020

Having revisited the atime, mtime, and time in our last video segment, we now have to come to terms with time(3) itself. We'll discuss managing the data structures and handling arbitrary concepts such as leap seconds, timezones, and (ugh) Daylight Savings Time. It gets silly real quick.

Slides for this lecture: https://stevens.netmeister.org/631/04-time.pdf
Course website: https://stevens.netmeister.org/631/

Outline:
00:00 Introduction
00:25 time(3)
01:53 gettimeofday(2)
02:56 clock_gettime(2)
03:49 gmtime(3)
05:53 Leap Seconds
09:00 asctime(3)
09:34 Timezones
11:51 Daylight Savings Time
13:22 mktime(3)
14:50 strftime(3)
15:15 Recap