insert only date in the cell in excell sheet code example Example: excel get current date and time =NOW() # Current time