Hi. I am new to Python and I am writing a script. What I am trying to do is, get the current time and store it so that I can use it in a logic somewhere else. I am using the following code to get the current time.
This script is returning the time and date in the below format:
I want to store time and date separately in two different variables: time and date.
How to do this?