Welcome to the Treehouse Community
Looking to learn something new?
date and times
Write a function named minutes that takes two datetimes and returns the number of minutes, rounded, between them. The first will always be older and the second newer. You'll need to subtract the first from the second.
import datetime def minutes(datetime1, datetime2): return (datetime2-datetime1).seconds/60