Top "Android-date" questions

Display the current time and date in an Android application

How do I display the current date and time in an Android application?

android datetime android-date
How can I get current date in Android?

I wrote the following code Date d = new Date(); CharSequence s = DateFormat.format("MMMM d, yyyy ", d.getTime()); But is …

android date simpledateformat android-date
how to convert milliseconds to date format in android?

I have milliseconds. I need it to be converted to date format of example: 23/10/2011 How to achieve it?

java android android-date date
Convert time value to format “hh:mm Am/Pm” using Android

I am getting date value from database like "2013-02-27 06:06:30" using StringTokenizer I will get time separately like below String …

android stringtokenizer android-date
Compare Two String Date and Time in android?

I have Two String Datetime as follows: String Date1 = "05-09-2013 10:46:10" String Date2 = "06-09-2013 10:46:10" I Need to compare these …

android android-date
how to convert a date dd / mm / yyyy to yyyy-MM-dd HH:mm:ss Android

How can I convert a date in dd / mm / yyyy to a format that supports sqlite yyyy-MM-dd'T'HH: mm: ss for …

java android android-date android-dateutils
Get current time in a given timezone : android

I am new to Android and I am currently facing an issue to get current time given the timezone. I …

java android android-date
Change String date format and set into TextView in Android?

I want to change my date format that is in as String date ="29/07/13"; But it is showing me the error …

android android-date android-dateutils
Converting date-string to a different format

I have a string containing a date in the format YYYY-MM-DD. How would you suggest I go about converting it …

java date android-date
Room Using Date field

I am using date converter class to convert my date object. However, I still encounter an error saying. error: Cannot …

android android-room android-database android-date