1. 学ぶ
  2. /
  3. コース
  4. /
  5. Working with Dates and Times in Python

Connected

演習

Unix timestamps

Datetimes are sometimes stored as Unix timestamps: the number of seconds since January 1, 1970. This is especially common with computer infrastructure, like the log files that websites keep when they get visitors.

指示

100 XP
  • Complete the for loop to loop over timestamps.
  • Complete the code to turn each timestamp ts into a datetime.