Results for “datetime.now”

2 results

  1. Challenge

    Live T-minus

    …work out the seconds left from the launch time and datetime.now(timezone.utc) instead of a number typed by hand, then turn it into a countdown() that counts up with T+ after launch.

    Write the code Medium 2 stages datetime datetime.now timezone countdown
  2. Challenge

    Launch schedule digest

    …on the live clock. Replace the fixed report_time with datetime.now(timezone.utc) , importing timezone too. Nothing else changes. When you run it, you'll see the digest for right now; after November…

    Write the code Medium 3 stages project json datetime timedelta