how to use new Date with typescript code example Example: typescript current date/time let dateTime = new Date()