How to get current time and date in Android Studio with custom format

preview_player
Показать описание
In this tutorial ,i will help you to get Current Time in Android Studio with custom format,

this is easy way to get Current Time in Android Studio with custom format, You can get current date and time with your own format
,,watch video and enjoy..

Some spacial Format for Date and Time :

yyyy.MM.dd G 'at' HH:mm:ss z" ---- 2001.07.04 AD at 12:08:56 PDT
"hh 'o''clock' a, zzzz" ----------- 12 o'clock PM, Pacific Daylight Time
"EEE, d MMM yyyy HH:mm:ss Z"------- Wed, 4 Jul 2001 12:08:56 -0700
"yyyy-MM-dd'T'HH:mm:ss.SSSZ"-----2001-07-04T12:08:56.235-0700
"yyMMddHHmmssZ"-------------------- 010704120856-0700
"K:mm a, z" ----------------------- 0:08 PM, PDT
"h:mm a" -------------------------- 12:08 PM
"EEE, MMM d, ''yy" ---------------- Wed, Jul 4, '01

How to create magic button in android studio :

Remove your logo and text background in one click:

Install paid app in free from play store:-

Edge screen on any Android phone:-

For any problem :-
Comment on this video

Рекомендации по теме
Комментарии
Автор

Nice and very helpful video brother thankyou so much 🙏🏼🙏🏼🙏🏼

someshsahu
Автор

this tutorials helps a lot, thanks and keep it

rktechsoft
Автор

Im a beginner
Trying to get the code for the following situation
Edittext1 = current stock of proteinbars Edittext2 = daily consumed proteinbars
Textview1 (days left) = how many days i have left ( edittext1 / editext2 )
Textview2 (Reorder date) = current date + textview1 - 7 days (delivery time)
Reorder date displayed

XMrNimX
Автор

can we change date and time on android apk while application is running?

sushma
Автор

there is a problem sir, I stored this time on firebase but it changes its time regularly. it does not remain the same.

MohsinKhan-jyrv
Автор

when i try, the time is not showing look like my desktop time

zulkiflihasan
Автор

why the time is not same as my country?

muhdhafififi
Автор

why mine not working
mine is androidx

lonewolfcoding
Автор

How get time from internet rather than taking from device current time

PeeyuSquad
Автор

How to add timestamp in our firebase post title

valaharshad