Arkadiusz Miśkiewicz <[email protected]> (Mo 07 Apr 2014 08:24:38 CEST): > > Hi. > > How to create time based rules using local time zone? > > For example: > > condition = ${if > or{{>{${substr_8_4:$tod_zulu}}{2300}}{<{${substr_8_4:$tod_zulu}}{0300}}} > {1}{0}} > but localtime instead of UTC? > > Somehow calculate tod_zulu + $tod_zone, but how?
In fact, a $tod_local would be useful, but for now you may use $tod_log,
this should be parsable too.
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
gnupg fingerprint: 9288 F17D BBF9 9625 5ABC 285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B)-
signature.asc
Description: Digital signature
-- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
