Ask a Question related to PHP Development, Design and Development.
-
Donpro #1
How do I manipulate a date variable to a specific date array?
Hi,
I use the getdate() function to return today's date in an array. I do this
as I need to separate the day/month/year as to display them in a drop down
combo box in my form. I would like to manipulate my array as such.
1) Find the next Monday (if not already Monday); set the array to this date
2) Add 4 weeks to the above Monday and set another array to this date
any ideas?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003
Donpro Guest
-
date query problem, date in variable
I am using the following query : $query_archief = "SELECT * FROM vacatures where dd_eind_plaatsing < $dd_eind_plaatsing_archief1" note:... -
How query specific date parts
If my database have a date field (eg: dir_date) with the following dates: 23/06/2005, 24/06/2005, 27/06/2005, 03/07/2005, 08/07/2005, 14/07/2005,... -
Finding a date closest to a specific date
I have a table which has a bunch of dates, from 2003, all the way until 2006. I'm trying to figure out an SQL statement which will allow me to find... -
DateDiff days before a specific date
I need to determine the date of an event based off of a date in the future. Example: Future Date: 03/10/2005 Date Needed: 10 days before 03/10/2005... -
File sorting by a specific date
I want to search a directory of log files and populate a list of those log files ONLY if they match today's date (localtime). $logs =...



Reply With Quote

