🔥 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
I want to get the date from 7 days ago to today in Kotlin. Any suggestions? This is what I have so far.
Use this function, to get the date of the days you have passed;
fun getDaysAgo(daysAgo: Int): Date {
val calendar = Calendar.getInstance()
calendar.add(Calendar.DAY_OF_YEAR, -daysAgo)
return calendar.time
}or in this way.
val date = Calendar.getInstance() // 19-01-2018
date.add(Calendar.DATE, -7) // 12-01-2018or it could be like this.
DateTime.now().minusDays(7)Done.
