Hi
i am a new user in python. I have some problem with this date comparison. I have tried several times but couldn't find out how to compare two dates. Can anyone ...
I have the following code and am getting the above error. Since I'm new to python I'm having trouble understanding the syntax here and how I can fix the error:
I've got the following python code that does a date comparison for a list sort function (e.g. date_list.sort(cmp=dcmp). I'm wondering if it's possibly to remove the cmp/if testing and ...
How would I compare two dates to see which is later, using Python?
For example, I want to check if the current date is past the last date in this list I ...
Hello all, this is my first post here on the forums, I'm a python newbie and need some help comparing dates in python. Basically I am writing a python app that needs to perform something if it has been 7 or more days since the last time it's been done (the python script will be run every time windows starts, so ...
Well this seems SOOOO simple, but its got be stumped. I am trying to do a conditional on two dates...the statement looks like this... if request.user.date_joined == request.user.last_login: ...but this evaluates to false every time. From what I understand this should be comparing the values, and not the object. I've tried every manner of string converter at the end to no ...