Destoy current date function after using it