PHP Noobie - Coundown to a certain date...?

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
NathanBWF
Forum Newbie
Posts: 3
Joined: Tue Apr 20, 2004 9:49 pm

PHP Noobie - Coundown to a certain date...?

Post by NathanBWF »

I'm new to the forums and new to PHP, so I'm sorry if this seems like a ridiculously easy question but anyway...

I want to write some PHP code that shows the exact number of days remaining until July 23rd, 2005 (it's for a friends wedding). Anyway, I was wondering what function(s) would you recommend in order to accomplish this...? I've been looking at the date/getdate functions but am not sure if these will be able to do what I'm looking for.

Any help would be greatly appreciated...
litebearer
Forum Contributor
Posts: 194
Joined: Sat Mar 27, 2004 5:54 am

Post by litebearer »

d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

Both PHP and Javascript would be able to do this, as they both have date functions that format nicely.
Post Reply