Gossamer Forum
Home : Products : DBMan : Customization :

Re: Search time on the time of the search

Quote Reply
Re: Search time on the time of the search In reply to
Woah! This is a biggie.

So there are fourteen fields, yes? One for opening time and one for closing time for each day of the week. (I don't even want to think about holidays!! Smile)

So the script would have to figure out which day of the week it is before it even knew which field to search on.

I think you would need to enter your times as four-digit numbers -- 0000 to 2359. The script could then convert the current time to a four-digit number for comparison purposes. For days when the organization was closed, you would need to enter -1 in both fields. And the fields would have to be field type "numer."

And all of this would have to be done in sub query.

Yeah, I think it can be done, if the fields are set up the way I described above.

I do want to make sure this is what you want before I start writing code. Smile

JPD
http://www.jpdeni.com/dbman/
Subject Author Views Date
Thread Search time on the time of the search wangs 4039 Jul 3, 2000, 2:05 AM
Thread Re: Search time on the time of the search
JPDeni 3957 Jul 3, 2000, 3:18 AM
Thread Re: Search time on the time of the search
wangs 3942 Jul 3, 2000, 8:01 PM
Thread Re: Search time on the time of the search
JPDeni 3955 Jul 4, 2000, 1:33 AM
Thread Re: Search time on the time of the search
wangs 3941 Jul 4, 2000, 2:49 AM
Thread Re: Search time on the time of the search
JPDeni 3915 Jul 4, 2000, 4:31 AM
Thread Re: Search time on the time of the search
wangs 3945 Jul 4, 2000, 6:20 AM
Thread Re: Search time on the time of the search
JPDeni 3935 Jul 4, 2000, 6:49 AM
Thread Re: Search time on the time of the search
wangs 3926 Jul 4, 2000, 3:31 PM
Thread Re: Search time on the time of the search
JPDeni 3920 Jul 5, 2000, 10:04 AM
Thread Re: Search time on the time of the search
wangs 3942 Jul 5, 2000, 11:24 AM
Thread Re: Search time on the time of the search
JPDeni 3928 Jul 5, 2000, 11:36 AM
Thread Re: Search time on the time of the search
wangs 3910 Jul 5, 2000, 11:52 AM
Thread Re: Search time on the time of the search
wangs 3926 Jul 5, 2000, 11:54 AM
Thread Re: Search time on the time of the search
wangs 3941 Jul 5, 2000, 12:00 PM
Thread Re: Search time on the time of the search
JPDeni 3918 Jul 5, 2000, 12:08 PM
Post Re: Search time on the time of the search
wangs 3918 Jul 5, 2000, 12:14 PM