Top "Datetime" questions

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

How to get the current time in Python

What is the module/method used to get the current time?

python datetime time
Converting string into datetime

I've got a huge list of date-times like this as strings: Jun 1 2005 1:33PM Aug 28 1999 12:00AM I'm going to be shoving …

python datetime
How do you get a timestamp in JavaScript?

How can I get a timestamp in JavaScript? Something similar to Unix timestamp, that is, a single number that represents …

javascript date datetime timestamp unix-timestamp
How to return only the Date from a SQL Server DateTime datatype

SELECT GETDATE() Returns: 2008-09-22 15:24:13.790 I want that date part without the time part: 2008-09-22 00:00:00.000 How can I get …

sql sql-server tsql date datetime
How do I get the current date and time in PHP?

Which PHP function can return the current date/time?

php datetime
Compare two dates with JavaScript

Can someone suggest a way to compare the values of two dates greater than, less than, and not in the …

javascript date datetime compare
SQL query to select dates between two dates

I have a start_date and end_date. I want to get the list of dates in between these two …

sql sql-server tsql datetime sql-server-2005
How to get the current date/time in Java

What's the best way to get the current date/time in Java?

java datetime
NOW() function in PHP

Is there a PHP function that returns the date and time in the same format as the MySQL function NOW()? …

php datetime time timestamp
How to convert DateTime to VarChar

I am working on a query in Sql Server 2005 where I need to convert a value in DateTime variable into …

sql sql-server datetime sql-convert