31 december 00:00 most definitely exists!
It is followed one second after 30 december 23:59

--
If you want to calculate to new year then try doing it to 31 december 23:59, or even better to 1 january 00:00


echo -a $signature