Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
215,939 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.