android java get current time
import java.time.*;
LocalDateTime datetime = LocalDateTime.now();
android java get current time
import java.time.*;
LocalDateTime datetime = LocalDateTime.now();
how to get current date time in android
SimpleDateFormat sdf = new SimpleDateFormat("ddMMyyyy_HHmmss", Locale.getDefault());
String currentDateandTime = sdf.format(new Date());
System.out.println("currentDateandTime" + currentDateandTime);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us