How to convert date to iso format in typescript?
Hi Friends 👋, Welcome to Infinitbility ❤️! This tutorial will help you to convert date to iso format in typescript, here we will use the toISOString() method to convert date to iso format. what is toISOString()? The toISOString() method returns a string in simplified extended ISO format (ISO 8601), which is always 24 or 27 characters long (YYYY-MM-DDTHH:mm:ss.sssZ or ±YYYYYY-MM-DDTHH:mm:ss.sssZ, respectively). The timezone is always zero UTC offset, as denoted by the suffix “Z”....