Top "Android-date" questions

How can i get current date and time in android and store it into string

Currently i am using the code below: String currentDateTimeString = DateFormat.getDateTimeInstance() .format(new Date()); From this i am getting the …

android android-date
how to get date from milliseconds in android

I have time in milliseconds, now I want to separate time and date from these milliseconds. how can i do …

android datetime android-date
java.text.ParseException: Unparseable date: "2014-06-04" (at offset 5)

I want to parse the date into a desired format but i am receiving an exception every time. i know …

java android android-date
How do I display the calendar date on the top of chat messages?

I am working on a chat application but I am struggling to figure out how to display the calendar date …

android android-layout android-fragments android-activity android-date
How to format in Kotlin date in string or timestamp to my preferred format?

I'm getting date data from weather API in two versions. The first one is just string like this: 2019-08-07 09:00:00 …

android kotlin android-date java-time
Android studio - Textview show date

I've read a lot of posts about this, but I cannot get it to work. I need a textView (id …

java android textview android-date
Number of days between two dates in Android

I need to calculate the number of days between two dates (both dates are also included) entered by a user …

android android-date
Android notification at specific date

I have to create an app in which I must set a date and at that specific date at 9 O'clock, …

android alarmmanager android-notifications android-date
generate dates between two date in Android

How to get all dates between two dates in Android. For example. I have two Strings. String first="2012-07-15"; …

android datetime date android-date
Android System date changed event

I know this question has been asked many times but i am unable to find the right direction. I have …

android broadcastreceiver android-date