Top "Datetime" questions

A DateTime object in many programming languages describes a date and a time of day.

Getting today's date in YYYY-MM-DD in Python?

I'm using: str(datetime.datetime.today()).split()[0] to return today's date in the YYYY-MM-DD format. Is there a less crude …

python datetime python-datetime
Converting dd/mm/yyyy formatted string to Datetime

I am new to DotNet and C#. I want to convert a string in mm/dd/yyyy format to DateTime …

c# string datetime
Convert Pandas Column to DateTime

I have one field in a pandas DataFrame that was imported as string format. It should be a datetime variable. …

python datetime pandas
How to get current date & time in MySQL?

Is there a value or command like DATETIME that I can use in a manual query to insert the current …

mysql sql datetime
Incrementing a date in JavaScript

I need to increment a date value by one day in JavaScript. For example, I have a date value 2010-09…

javascript date datetime
How to insert date values into table

How can I insert into table with different input using / ,with date datatype? insert into run(id,name,dob)values(&…

sql oracle datetime oracle10g date-formatting
How to get current time with jQuery

The following returns time in microseconds, for example 4565212462. alert( $.now() ); How do I convert it to a human readable time …

jquery datetime time unix-timestamp microtime
How to compare two dates?

How would I compare two dates to see which is later, using Python? For example, I want to check if …

python datetime
DateTime2 vs DateTime in SQL Server

Which one: datetime datetime2 is the recommended way to store date and time in SQL Server 2008+? I'm aware of differences …

sql sql-server tsql datetime datetime2
Convert one date format into another in PHP

Is there a simple way to convert one date format into another date format in PHP? I have this: $old_…

php date datetime format date-conversion