Answers for "convert date to long android"

0

convert long to date android

String longV = "1343805819061";
 long millisecond = Long.parseLong(longV);
 // or you already have long value of date, use this instead of milliseconds variable.
 String dateString = DateFormat.format("MM/dd/yyyy", new Date(millisecond)).toString();
Posted by: Guest on December-06-2020

Code answers related to "convert date to long android"

Code answers related to "Dart"

Browse Popular Code Answers by Language