Timeline for How do I get the current time in Python?
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 31, 2020 at 15:20 | comment | added | Ice Bear | @pppery The fact that it is another way to answer the question which makes it RELEVANT to other people who has a similar question to this question. So there is nothing wrong with this :) | |
Feb 21, 2020 at 4:55 | comment | added | Perry | The fact that 440 people were looking for content that is not an actual answer to the question does not make that content an answer to the question. | |
Jan 10, 2020 at 20:09 | comment | added | John | The fact that this answer has more than 440 upvotes suggests that the minor addition of the string method was useful to a lot of people. | |
Oct 29, 2019 at 15:21 | comment | added | RTHarston | @pppery Nor does the op say it isn't about getting a string of the time. The op doesn't say at all what they want to do with the time, so why is it a bad thing to show how to turn it in to a string? Most of the answers talk about getting a string from the time, so it appears to be a common use case, so why single out Ray's answer? What use is simply getting the time without knowing how to do anything with it? You can print it, or do math on it, and only a couple of the answers show how to do math on it, so I think printing/getting a string is a common use. ;-) (I know it is what I came for.) | |
Apr 11, 2019 at 21:06 | comment | added | Perry | Not relevant; the "str" step is not within the scope of the question | |
Mar 27, 2019 at 5:30 | comment | added | Lukas | @ppperry, then just simply assign a variable to Ray's answer - like: myTime = str(datetime.now()). | |
Aug 8, 2018 at 17:47 | history | wiki removed | Aaron Hall♦ | ||
Aug 7, 2018 at 1:52 | history | made wiki | Post Made Community Wiki by Samuel Liew | ||
Jul 6, 2018 at 15:20 | review | Suggested edits | |||
Jul 6, 2018 at 17:16 | |||||
May 23, 2017 at 11:47 | history | edited | URL Rewriter Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
May 4, 2011 at 0:56 | history | answered | Ray | CC BY-SA 3.0 |