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
Hi, Right now this is what is inside my default.cfg
################################
Mon_open => [19, 'alpha', 0, 18, 0, '', ''],
Mon_close => [20, 'alpha', 0, 18, 0, '', ''],
Tue_open => [21, 'alpha', 0, 18, 0, '', ''],
Tue_close => [22, 'alpha', 0, 18, 0, '', ''],
Wed_open => [23, 'alpha', 0, 18, 0, '', ''],
Wed_close => [24, 'alpha', 0, 18, 0, '', ''],
Thu_open => [25, 'alpha', 0, 18, 0, '', ''],
Thu_close => [26, 'alpha', 0, 18, 0, '', ''],
Fri_open => [27, 'alpha', 0, 18, 0, '', ''],
Fri_close => [28, 'alpha', 0, 18, 0, '', ''],
Sat_open => [29, 'alpha', 0, 18, 0, '', ''],
Sat_close => [30, 'alpha', 0, 18, 0, '', ''],
Sun_open => [31, 'alpha', 0, 18, 0, '', ''],
Sun_close => [32, 'alpha', 0, 18, 0, '', ''],

#in the select field I have
rMon_open => '24 Hours,CLOSED,12:00 AM,...',
rMon_close => '12:00 AM,12:15 AM,12:30,...',

Well, I can change this to military time if it will help this database to work like the way I want.

I was also hoping to add in new fields for HotLine Hours such as.

Office_mon_open
Office_mon_close
...
Office_sun_open
Office_sun_close

and

Hotline_mon_open
Hotline_mon_close
and etc.

Well I guess what I want to accomplish in the end is to allow users to do a search to see if whether an office or hotline is open at the time a search was processed.

So, "Closed" can be equal to -1, "24 Hours = X, 12:00 AM = 2400, and etc.

It would be great if you can help me get this working.
Thank you so much.

Scott Wang

Oh, and can you please explain to me on how I can make the conversion of military time to "non-military" time for display?

Thanks again.

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 3956 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 3925 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