• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Time Settings

Status
Not open for further replies.

TWC-3cx

Joined
Aug 28, 2014
Messages
14
Reaction score
1
Greetings

I just started Working on Call Flow Designer for the 1st time today.

So I am reading through
https://www.3cx.com/docs/cfd-routing-calls-time-day/

and all the Time Examples are exactly on the hour. 9 12 and 18.

Would Quarter past and Half past the hour be 9:15 or 12:30 ?

Thanks
 
Hi @TWC-3cx,

No, those are C# expressions, so you need to evaluate the Minute property of the DateTime object. For example, if you want to check if the time is between 9:15 and 12:30 you need the following expression:
(DateTime.Now.Hour == 9 && DateTime.Now.Minute >= 15) || (DateTime.Now.Hour > 9 && DateTime.Now.Hour < 12) || (DateTime.Now.Hour == 12 && DateTime.Now.Minute < 30)

Kind regards.
 
Hi @edossantos

Thanks for that.
This i think is a tad more complex than i was led to believe.

More reading for me.
 
Yes, we understand that many users find this a bit difficult, and because of that we'll be providing a new Date and time routing component in the next release. No ETA yet, but we're already working on that. Stay tuned!
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Forum statistics

Threads
141,620
Messages
748,856
Members
144,732
Latest member
Mendy E
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.