[erlang-questions] Time range event filtering

Mark Allen mallen@REDACTED
Tue Sep 10 21:34:38 CEST 2013


At $DAYJOB, my team is working on a project where we need to compute a time range (like 9am to 9pm in a specified timezone) and see if erlang:now() is in that time range and take a different action if the bool is true or false.

Are there any good libraries for working with time ranges like this?  I wanted to ask before we re-invent the wheel.  I didn't find anything especially appropriate on a cursory web search.

Thanks.

Mark

Mark Allen
Sr Software Developer
Alert Logic

E: mallen@REDACTED






More information about the erlang-questions mailing list