FUNCTION: log current date