I am trying to convert today date to UTC. Even though I used .toISOString() to change the time. I used
import {formatDate} from '@angular/common';
today = formatDate(new Date(), 'yyyy-MM-dd hh:mm:ss', 'en');
How can I convert today in UTC format? Plz advise me