Available From... To...

Syntax: Available day from time to time

Where

Is

day

One of the following:

  • Daily
  • Weekdays
  • day_of_week (Saturday, for example)

time

One of the following:

 

hh:mm

Hours and minutes in 24-hour format, for example, 13:15 for 1:15 PM

 

hh:mm AM

Hours and minutes in clock time, for example, 10:00 AM

 

hh:mm PM

Hours and minutes in clock time, for example, 10:00 PM

Default: Disabled

The Available From…To…option limits when an Accessory can use DBEngine to access a database. If an Accessory attempts to access the database outside of the specified time interval, error 41, “Access to database denied” is returned.

Example:

The following example shows how you can specify multiple Available From...To... options:

Available weekdays from 9:20 PM to 11:50 PM

Available Saturday from 4:00 AM to 10:50 PM

If there are conflicting entries, DBEngine will use the least restrictive (most available) entry.