automatic form replacement based on time and date