typescript output current date code example Example: typescript current date/time let dateTime = new Date()