subject

In the following example, current_timestamp contains a string which represents a timestamp of the format '%Y-%m-%d %H:%M:%S'. Here 'Y' is for 'Year', 'm' is for 'Month', 'd' is for 'Day', 'H' is for 'Hour' and 'M' is for 'Minute'. For example, in the timestamp "2019-09-12 23:43:58", Year is "2019", Month is "09", Day is "12", Hour is "23" and Minute is "43". Can you write a program to extract the Hour and Minute from this timestamp? So, the code will print this: The Hour is: 23 The Minute is: 43 (Try to check your code in Python Console/Editor). Hints: You can use the split() method.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:30
What is the original authority for copyright laws
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
Me ajude por favor , coloquei uma senha e nĂŁo consigo tira-la no chorme
Answers: 2
question
Computers and Technology, 24.06.2019 00:20
The guy wire bd exerts on the telephone pole ac a force p directed along bd. knowing the p must have a 720-n component perpendicular to the pole ac, determine the magnitude of force p and its component along line ac.
Answers: 2
question
Computers and Technology, 24.06.2019 08:20
Evaluate the scenario below and indicate how to handle the matter appropriately. situation: michael received an e-mail from what he thought was his doctor’s office, requesting his social security number. since he had just been in to see his doctor last week, he replied to the e-mail with his social security number.
Answers: 2
You know the right answer?
In the following example, current_timestamp contains a string which represents a timestamp of the fo...
Questions
question
Mathematics, 25.06.2021 01:40
question
Geography, 25.06.2021 01:40
Questions on the website: 13722363