[Vuejs]-Is there a way to use toString and Split method in Nativescript Vue?

0👍

You need to format Date object to convert it to string:

SimpleDateFormat dateFormat_ddMMMMMyyyy = new SimpleDateFormat("dd MMMM yyyy", Locale.getDefault());
Date date=new Date();
String formattedDate=dateFormat_ddMMMMMyyyy.format(date);

Leave a comment