Top "Date" questions

A date is a reference to a particular day represented within a calendar system, and consists of year, month and day.

How to format a JavaScript date

In JavaScript, how can I format a date object to print as 10-Aug-2010?

javascript date date-formatting
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
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
Converting a string to a date in JavaScript

How can I convert a string to a date in JavaScript? var st = "date in some format" var dt = new …

javascript date type-conversion date-parsing
Java string to date conversion

What is the best way to convert a String in the format 'January 2, 2010' to a Date in Java? Ultimately, …

java string date time data-conversion
Convert a date format in PHP

I am trying to convert a date from yyyy-mm-dd to dd-mm-yyyy (but not in SQL); however I don't know how …

php date formatting
Convert a Unix timestamp to time in JavaScript

I am storing time in a MySQL database as a Unix timestamp and that gets sent to some JavaScript code. …

javascript date time time-format
jQuery UI DatePicker - Change Date Format

I am using the UI DatePicker from jQuery UI as the stand alone picker. I have this code: <div …

jquery jquery-ui date jquery-ui-datepicker