Name

IFTIME — Compares the current system time to a time specification

Synopsis

IFTIME(times,days_of_week,days_of_month,months?[true][:false])

Conditional: Returns the data following ? if true, otherwise the data following :

times

Time ranges, in 24-hour format

days_of_week

Days of the week (mon, tue, wed, thu, fri, sat, sun)

days_of_month

Days of the month (1–31)

months

Months (jan, feb, mar, apr, etc.)

See Also

GotoIfTime()

Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.