Using datetime now instead of seconds