excel shortcut for today's date code example Example: excel get current date and time =NOW() # Current time