which function is used to display the current date in excel code example Example: excel get current date and time =NOW() # Current time