Trigger module : initialization and date calculations