Thank you for posting your code.
A good first step is to reduce the code to the minimum code needed for reproducing the problem. This helps us understand the code quicker, and likely it also helps you to understand the structure of your code better.
Can you please post the code without the HTML generation as a new reply, to your node? The generation of an output file is likely also not relevant to the problem.
In reply to Re^5: The day before a specific date
by Corion
in thread The day before a specific date
by jpys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |