Android Java otrzyma aktualny czas
import java.time.*;
LocalTime time = LocalTime.now();
Merlin4 (ranken)
import java.time.*;
LocalTime time = LocalTime.now();
import java.time.*;
LocalDateTime datetime = LocalDateTime.now();
Calendar c = Calendar.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat("MMM dd, yyyy HH:mm:ss a");
String strDate = sdf.format(c.getTime());
Log.d("TAG","DATE : " + strDate);