Jump to content

[SOLVED] Creating a countdown...


DBookatay

Recommended Posts

Does anyone have a script that will countdown to a certain day?

I'm getting married on June 13th, 2008 and am in the process of creating a site for my

fiancé's and my family, to view our status, reception information, ceremony location, etc... and want a "### days remaining" script on the page.

 

                  -------------------------------------------------------

Also random poll: My fiancé thinks that it's cheesy to create a dB that everyone can go to to rsvp and make their meal selection, instead she want to have everyone mail in reply cards. If I

elegantly do a site, with a simply login area for friends and family to rsvp, is that cheesy? It would

definitely be more cost effective (less stamps / reply cards) and less time consuming (simply print a list of

attendees and meal selection for the banquet hall.)

 

Anyone have an opinion?

 

Link to comment
Share on other sites

<?php
$doomsday = '1213315200'; //unix timestamp for June 13th 2008
$countdown =  $doomsday - time();
$countdowndays = round($countdown/60/60/24, 1);
echo "you will be married, and considered dead inside in $countdowndays days";
?>

 

As far as the invitations and stamps - yes it fiscally makes more sense to do it via an online site. However, as you will most inevitably come to realize - when planning a wedding - its best to leave the those types of decisions up to the woman. As my wife explained to me, she has been planning this wedding for her whole life.

 

Link to comment
Share on other sites

<?php
$doomsday = '1213315200'; //unix timestamp for June 13th 2008
$countdown =  $doomsday - time();
$countdowndays = round($countdown/60/60/24, 1);
echo "you will be married, and considered dead inside in $countdowndays days";
?>

 

As far as the invitations and stamps - yes it fiscally makes more sense to do it via an online site. However, as you will most inevitably come to realize - when planning a wedding - its best to leave the those types of decisions up to the woman. As my wife explained to me, she has been planning this wedding for her whole life.

 

 

Love both the comments... Sarcasm is always the best way to wallow in self misery...

Thanks for the help...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.