1. print(t_day.seconds)
2. print(t_day.months)
3. print(t_day.max)
4. print(t_day.resolution)
print(t_day.months)
1. 2017-16-19
2. 2017-06-9
3. 2017-06-29
4. Error
2017-06-29
1. True
2. False
False
1. datetime.utc()
2. datetime.datetime.utc()
3. datetime.utcnow()
4. datetime.datetime.utcnow()
datetime.datetime.utcnow()
1. The number of hours passed since 1st January, 1970
2. The number of days passed since 1st January, 1970
3. The number of seconds passed since 1st January, 1970
4. The number of minutes passed since 1st January, 1970
The number of seconds passed since 1st January, 1970
1. 123The time taken for the execution of the code
2. 3The time taken for the execution of the code
3. 123UTC time
4. 3UTC time
1
2
3
The time taken for the execution of the code
1. Current date only
2. UTC time
3. Current date and time
4. Current time only
Current date and time
1. ‘20 Sep 2010 8:15:12 Sun’
2. ‘2010 20 Sept 08:15:12 Sun’
3. ‘Sun Sept 20 8:15:12 2010’
4. Error
Error
1. ‘Sep 20 2010 08:45:12 Sun’
2. ‘Sun Sep 20 08:45:12 2010’
3. ’20 Sep 08:45:12 Sun 2010’
4. ‘2010 20 Sep 08:45:12 Sun’
‘Sun Sep 20 08:45:12 2010’
1. Pause the code for the specified number of seconds
2. Return the specified number of seconds, in terms of milliseconds
3. Stop the execution of the code
4. Return the output of the code had it been executed earlier by the specified number of seconds
Pause the code for the specified number of seconds