I have a timestamp like this: '2020-11-18 16:31:27'
I would like to split it up in 4 different messages because I don't need the time but only the stamp (If you know what I mean).
I would like to have something like this:
year = 2020
month = 11
day = 18
rest = 16:31:27
so I can use the year, month and day in calculations. I searched the site (perhaps not good enough) but I couldn't find what I was looking for.
Is there someone out there who already figured this out and is willing to give me a clue?