CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
"days until"

 



JoeMezz
Novice

Aug 23, 2001, 6:08 AM

Post #1 of 5 (2736 views)
"days until" Can't Post

Looking for a script that displays "NN Days Until XX" where NN is the number of days and XX is an event.
"78 Days Until Christmas" type of display. Just simply text output, nothing fancy !
any ideas ?? thanks



fashimpaur
User

Aug 23, 2001, 6:37 AM

Post #2 of 5 (2735 views)
Re: "days until" [In reply to] Can't Post

use Date::Calc module in perl. Define Specific dates by name in hash where values are the month, day and year of the event. Date::Calc can calculate the number of days between now and that date. Then, just display the results (choose to display graphics or text in web page).

HTH,

Dennis

$a="c323745335d3221214b364d545a362532582521254c3640504c37292f493759214b3635554c3040606a0",print unpack"u*",pack "h*",$a,"\n\n"


JoeMezz
Novice

Aug 23, 2001, 3:23 PM

Post #3 of 5 (2729 views)
Re: "days until" [In reply to] Can't Post

Thanks for the info, but I do not know how to do that. I am looking for a perl script that i can install - i am trying to find an actual script as opposed to how to write one using the module you mentioned



parham_m_s
journeyman

Aug 23, 2001, 7:48 PM

Post #4 of 5 (2726 views)
Re: "days until" [In reply to] Can't Post

this should help you out :)

http://www.worldwidemart.com/scripts/countdown.shtml



manunkind
Novice

Aug 23, 2001, 7:54 PM

Post #5 of 5 (2724 views)
Re: "days until" [In reply to] Can't Post

a few more..

http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Countdowns/


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives