insert-current-date function defined