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...: Re: [sangiro] Perl code (SSI) to detect day and time: Edit Log



yapp
User

Feb 25, 2002, 1:09 AM


Views: 5313
Re: [sangiro] Perl code (SSI) to detect day and time

Oeps! are you sure? Crazy Damn! Mad

Well, the hours are a mistake, but I thought you asked:

Quote
between 9pm on Wednesday and 6am on Thursday

That would imply: WED ... day ... THU
Shouldn't that mean that you should fill in a <= at the dots?
Then writing if(WED <= $day && $day <= THU){.. ???
Unless you ment between THU and WED (including the weekend) I'm confused.


But I think you got the idea of my code, and that you're able now to implement your own version.

Yet Another Perl Programmer

_________________________________
~~> [url=http://www.codingdomain.com]www.codingdomain.com <~~
More then 3500 X-Forum [url=http://www.codingdomain.com/cgi-perl/downloads/x-forum]Downloads! Cool

(This post was edited by yapp on Feb 25, 2002, 1:13 AM)


Edit Log:
Post edited by yapp (User) on Feb 25, 2002, 1:12 AM
Post edited by yapp (User) on Feb 25, 2002, 1:13 AM


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

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