how to display time in android code example Example: android time import java.time.*; LocalDateTime datetime = LocalDateTime.now();