localization date android code example Example: android localdatetime import java.time.*; LocalDateTime datetime = LocalDateTime.now();