
-----------------------------------
ecookman
Mon Dec 08, 2008 5:14 pm

need someonone to make a countdown timer &lt;any language&gt;
-----------------------------------
ya so said my friend wants a countdown timer for Christmas. sooo to satisfy them i have come here looking for some brains (not literally)


so if someone could make a countdown timer that can count down from the computers time and date until Christmas eve that wold be lovely.



preferably using turing or VB...because they are the only languages i know...so i can modify them if needed


if it is made in turing or vb please send the code too ( i have vb 2008 express 2008 and vb complete studio 2005)

-----------------------------------
Tony
Mon Dec 08, 2008 5:49 pm

Re: need someonone to make a countdown timer &lt;any language&gt;
-----------------------------------
seriously?


tony$ script/console 
Loading development environment (Rails 2.1.2)
>> include ActionView::Helpers::TextHelper
=> Object
>> puts "There are #{pluralize((Date.new(2008,12,24) - Date.today).to_i, 'day')} left until Xmas Eve"
There are 16 days left until Xmas Eve
=> nil


-----------------------------------
ecookman
Mon Dec 08, 2008 5:52 pm

RE:need someonone to make a countdown timer &lt;any language&gt;
-----------------------------------
it is really that simple
well i have never seen ruby soo



and also...I have never played with timers in either language


further more

i don't have a ruby compiler...is it possible to make it into a .exe?

-----------------------------------
gianni
Mon Dec 08, 2008 5:53 pm

Re: need someonone to make a countdown timer &lt;any language&gt;
-----------------------------------
preferably using turing or VB...because they are the only languages i know

If you know these languages why don't you just write a countdown timer? I mean ... you already know the language ... right?

-----------------------------------
ecookman
Mon Dec 08, 2008 5:56 pm

Re: RE:need someonone to make a countdown timer &lt;any language&gt;
-----------------------------------
as tony said:

seriously? 

read before you post



and also...I have never played with timers in either language


-----------------------------------
gianni
Mon Dec 08, 2008 5:58 pm

Re: RE:need someonone to make a countdown timer &lt;any language&gt;
-----------------------------------
as tony said:

seriously? 

read before you post



and also...I have never played with timers in either language


I think someone should take a bit of their own advice. *WINK*

Also, good reading: http://compsci.ca/blog/you-dont-know-that-programming-language/

-----------------------------------
ecookman
Mon Dec 08, 2008 6:02 pm

RE:need someonone to make a countdown timer &lt;any language&gt;
-----------------------------------
i really don't know what you are talking about..if it is a spelling error i apologize i am mega- multitasking (working on 2 projects and this at same time)


if you would like to continue this discussion please pm me...double posting and making a thread into a instant messaging conversation = thread lock and usually a warning

-----------------------------------
rdrake
Mon Dec 08, 2008 6:50 pm

Re: RE:need someonone to make a countdown timer &lt;any language&gt;
-----------------------------------
if you would like to continue this discussion please pm me...double posting and making a thread into a instant messaging conversation = thread lock and usually a warningHey you're right.  Question's been answered already so I'm locking this.

You can do what Tony did in almost any language, he just made it fancier by making it dynamically decide whether "day" or "days" was appropriate.  If you're using VB.NET check out the DateTime class and in particular the DateTime.Now property.  So go nuts.
