Top "Date" questions

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

Add number of days to a date

I want to add number of days to current date: I am using following code: $i=30; echo $date = strtotime(date("…

php date
How to validate date with format "mm/dd/yyyy" in JavaScript?

I want to validate the date format on an input using the format mm/dd/yyyy. I found below codes …

javascript validation date
Javascript format date / time

I need to change a date/time from 2014-08-20 15:30:00 to look like 08/20/2014 3:30 pm Can this be done using javascript's …

javascript date datetime
A non well formed numeric value encountered

I have a form that passes two dates (start and finish) to a PHP script that will add those to …

php validation date time
SQL SERVER: Get total days between two dates

I'm trying to get the total number of days between two days: 1/1/2011 3/1/2011 RETURN 62 Is it possible to do in SQL …

sql sql-server sql-server-2008 date
Convert date to datetime in Python

Is there a built-in method for converting a date to a datetime in Python, for example getting the datetime for …

python datetime date
Updating a date in Oracle SQL table

I am trying to update a date in a SQL table. I am using Peoplesoft Oracle. When I run this …

sql oracle date peoplesoft
How do I pre-populate a jQuery Datepicker textbox with today's date?

I have a very simple jQuery Datepicker calendar: $(document).ready(function(){ $("#date_pretty").datepicker({ }); }); and of course in the HTML... &…

javascript jquery jquery-ui date jquery-ui-datepicker
PHP convert date format dd/mm/yyyy => yyyy-mm-dd

I am trying to convert a date from dd/mm/yyyy => yyyy-mm-dd. I have using the mktime() function and …

php date formatting mktime
SQL ORDER BY date problem

Can you please help me in solving this problem. I am trying to order the results of an SQL query …

sql date sql-order-by