Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I do different actions depending on the time of day, day of week, etc?

0
Posted

How do I do different actions depending on the time of day, day of week, etc?

0

The “brute force” answer is to run date(1) each time you receive a message, and compare the results against some regular expression, but a simple and efficient shortcut is to use the date stamp which is already in the

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123