Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+1 vote
asked in CSC305 Fall 2021 by (2.1k points)

2 Answers

0 votes

If your input is of string type. Just slice it. However, if the type is of type Time or something, I'm not sure but you can try getting the content from the time (it may be returned as a string)

answered by (2.1k points)
0 votes

I would also just manipulate the string the separate the hour and minutes. That is what my group did and everything worked out fine.

answered by (2.1k points)
...