Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // template code
- <input id="endDate" [value]="today | date: 'MMMM d, y'" name="endDate" type="date" required class="form-control-sm">
- // code in corresponding class
- today = String(Date.now());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement