
yapp
User
Feb 25, 2002, 1:09 AM
Views: 3723
|
|
Re: [sangiro] Perl code (SSI) to detect day and time
|
|
|
Oeps! are you sure? Damn! Well, the hours are a mistake, but I thought you asked:
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!
(This post was edited by yapp on Feb 25, 2002, 1:13 AM)
|