🔥 Huge shoutout to @SVDG_XEC the absolute legend who just swept through my #NFT collection like a storm! 🙌
— Gaexe (@gaexe_) May 30, 2025
Your support isn’t just noticed — it’s legendary. You didn’t just collect — you made history. 🚀
Looks like I’ll be pulling an all-nighter tonight.👨💻🌙 #NFTCollector $XEC pic.twitter.com/vKwKByk7fi
How to get current Date (day month and year) and time (hours, minutes and seconds) in local time in Kotlin?
I tried going through LocalDateTime.now() but it gives me an error saying that Call requires API Level 26 (current min is 21).
Solution
val sdf = SimpleDateFormat("dd/M/yyyy hh:mm:ss")
val currentDate = sdf.format(Date())
System.out.println(" C DATE is "+currentDate)Or use this way
import java.util.Calendar ; import java.util.Date ; Date currentTime = Calendar . getInstance (). getTime ();
