Units

Defines the unit of time to be used for the BeginTime, EndTime, and Interval. Right-click the parameter to display a list.

NOTE: When days are used, the first interval starts on a Monday. For example, TimeIsBetween(0,5,7,day) would perform a function every Monday through Friday.

Code Description
usec microseconds
msec milliseconds
sec seconds
min minutes
hr hours
day days

Type: Constant