Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Dates and Times in Python Let's Build a Timed Quiz App Timestamp Ordering

Jeetender Batra
Jeetender Batra
Courses Plus Student 3,028 Points

I did not get this question

I did not understand this question

# If you need help, look up datetime.datetime.fromtimestamp()
# Also, remember that you *will not* know how many timestamps
# are coming in.

2 Answers

Steven Parker
Steven Parker
227,141 Points

Those comments are just hints, the actual instructions are at the top of the challenge page. Here's some additional hints, based on the instructions:

  • Create a function named timestamp_oldest
  • This function will take a variable number of arguments
  • The arguments will all be POSIX timestamps
  • POSIX timestamps are floats
  • The oldest one will be convert to a datetime object
  • The oldest time will have the lowest value
  • You can .sort() a list of arguments to find the oldest
  • The function will return the oldest after conversion.

Does that make it clear?

Carlos Caro
Carlos Caro
9,528 Points

The explanation is clear but I am having issues trying to understand conceptually what a timestamp is.