Answers for "android date"

5

android date

import java.time.*;
LocalDateTime datetime = LocalDateTime.now();
Posted by: Guest on February-05-2021
2

android java format date time

import java.time.*;
import java.time.format.*;
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("HH:mm:ss");
LocalTime time = LocalTime.now();
String output = formatter.format(time);
Posted by: Guest on February-05-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language