LocaleDate

how can i use LocaleDate to get the current year as an int ?
4 Replies
JavaBot
JavaBot2y ago
This post has been reserved for your question.
Hey @MoonSouhayl! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Kyo-chan
Kyo-chan2y ago
Right. A help channel is better. So:
int year = LocalDate.now().getYear();
int year = LocalDate.now().getYear();
MoonSouhayl
MoonSouhaylOP2y ago
oki ty
JavaBot
JavaBot2y ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one.
Want results from more Discord servers?
Add your server