Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to convert date format using date pipe in angular

var datePipe = new DatePipe();
    this.setDob = datePipe.transform(userdate, 'dd/MM/yyyy');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #date #format #date #pipe #angular
ADD COMMENT
Topic
Name
5+1 =