Calculating dates?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
cturner
Forum Contributor
Posts: 153
Joined: Sun Jul 16, 2006 3:03 am
Location: My computer

Calculating dates?

Post by cturner »

Is it possible to calculate two dates to display that amount of text boxes? The dates will be in combo boxes. I want the text boxes to be displayed for the difference between the two dates. How can this be done?

Also I want to know if it is possible to display all dates after the two dates have been calculated? How can this be done?

Thanks in advance.
Last edited by cturner on Tue Jan 09, 2007 2:39 pm, edited 2 times in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Yes, it's certainly possible, however I would suggest that it be handled by PHP, at least as a fall-back if Javascript is disabled.
User avatar
cturner
Forum Contributor
Posts: 153
Joined: Sun Jul 16, 2006 3:03 am
Location: My computer

Post by cturner »

It is possible for someone to move this thread to the PHP forum. Thank you.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

cturner wrote:It is possible for someone to move this thread to the PHP forum. Thank you.
Per your request.
Post Reply