title: How to add hh:mm with datepipe in calender in Angular without any external library?
body: <p>PS: Do not want to use any NPM modules.</p>
  <p>I have added calendar in my project with angular DatePipe, where date is <strong>selected in format dd/mm/yyyy but I also need to add hh:mm in the calendar</strong>  but I am clueless how to add hh:mm with the calendar.</p>
  <p><a href="https://i.stack.imgur.com/EOd9Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EOd9Y.png" alt="enter image description here" /></a></p>
  <p><strong>TS:</strong></p>
  <pre><code>import { DatePipe } from &quot;@angular/common&quot;; 
  
  selectedDate: string;
  yesterday = new Date();
  </code></pre>
  <p><strong>HTML:</strong></p>
  <pre><code>  &lt;input class=&quot;form&quot;  [(ngModel)]=&quot;selectedDate&quot; name=&quot;date&quot; type=&quot;date&quot;
    placeholder=&quot;from&quot; max=&quot;{{yesterday | date:'yyyy-MM-dd'}}&quot;  required&gt; 
  </code></pre>