Add time and date in function: