I try to define an ACL condition in HAProxy to check for the current server time and base on the specific time I will route traffic to certain backend servers.
But I don't find in HAProxy documentation on reading or extracting current date and time.
My goal is something like this in the frontend definition:
acl check_time_is_ls_12 "logic: check current timehour < 12 "
use_backend back_server1 if check_time_is_lt_12
use_backend back_server2 unless check_time_is_lt_12