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, 22.06.2019 10:40
"it security policy enforcement and monitoring" respond to the following: describe how monitoring worker activities can increase the security within organizations. describe the rationale that managers should use to determine the degree of monitoring that the organization should conduct. explain the extent to which you believe an organization has the right to monitor user actions and traffic. determine the actions organizations can take to mitigate the potential issues associated with monitoring user actions and traffic.
Answers: 3
question
Computers and Technology, 23.06.2019 03:30
In vista and windows 7, the appearance and personalization option allows you to change the
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
question
Computers and Technology, 23.06.2019 19:00
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
You know the right answer?
In the following example, current_timestamp contains a string which represents a timestamp of the fo...
Questions
Questions on the website: 13722362