Want to get the time in milliseconds in android Ex 19: 57: 21: 522 . How to do it? Could not find a direct API for this.
Try SimpleDateFormat
http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
Use capital template S
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); String currentDateandTime = sdf.format(new Date());
Source: https://habr.com/ru/post/1502551/More articles:Better Javascript and html template file management: edit as many files as possible, but use them as one file - javascriptMaxReceivedMessageSize error in WCF - wcfHow to change the color of an NSProgressIndicator from gray to white? - objective-cEclipse - Run expression at point in code? - javaFrom Range Range to Range-Interval - oracleРазделение элементов массива - javascriptHow to find out the actual refresh rate of a screen (not a rounded number) - windowsButton grid using UICollectionView? - iosHow to specialize a C ++ template function based on a type dependent on a type? - c ++Inno Setup Scroll through the files and register each .NET dll - c #All Articles