Site is under maintenance mode. Please wait few min!

Check the post How to get current time and date in Android | Current date time in android

You could use:

import java.util.Calendar

Date currentTime = Calendar.getInstance().getTime();

You can find the full calendar documentation here

Categories: Android


Leave a Reply

Your email address will not be published. Required fields are marked *

Social Media Auto Publish Powered By :