Instead of the time this function inserts the current date. Everything else is identical to the Insert time function described above.
Insert time