Convert timedelta to total seconds?
I have a time difference time1 = datetime.datetime.fromtimestamp(time.mktime(time.gmtime())) ... time2 = datetime.d...
Can't subtract offset-naive and offset-aware datetimes?
I have a timezone aware timestamptz field in PostgreSQL. When I pull data from the table, I then want to subtract th...
What does the “.000Z” of “yyyy-mm-ddT00:00:00.000Z” mean??
I've gotten a response from one application with the following date & time format: yyyy-mm-ddT00:00:00.000Z ...
Can a DateTime be null? [duplicate]?
This quest...
Convert months mmm to numeric?
I have been given a csv with a column called month as a char variable with the first three letters of the month. E.g...
Python date reading from a csv file?
I'm actually trying to calculate a SLA from a csv file in python 2.7.8. here's an example of my csv file: 2014-09-2...
Get Current Time in mm/dd/yyyy in C++?
I am using the following code for setting the time in a Date Control in MFC using C++ CTime date; date = date.GetCu...
How to get the current time as datetime?
Just started with the playground. I'm trying to create a simple app. I've created a date object like this: var dat...
Python speed testing - Time Difference - milliseconds?
What is the proper way to compare 2 times in Python in order to speed test a section of code? I tried reading the AP...
Get Month name from month number?
Possible Duplicate: How to get the MonthName in c#? I used the following c# syntax to get month name from...
type object 'datetime.datetime' has no attribute 'datetime'?
I have gotten the following error: type object 'datetime.datetime' has no attribute 'datetime' On the followin...
Python - Get Yesterday's date as a string in YYYY-MM-DD format?
As an input to an API request I need to get yesterday's date as a string in the format YYYY-MM-DD. I have a working ...
Meaning of exception in C# app: “Not a legal OleAut date”??
Does anyone know what this means. Getting this in C# winforms applications: Not a legal OleAut date ...
AttributeError: module 'datetime' has no attribute 'now'?
I am learning Python on my own. Now I have encountered some problems. Below is my code which copy from the video who...