Functionalities
Other
$dayInYear
Gets the current day of the year as a number. December 31st returns `365` and January 1st returns `1`.

FUNCTION USAGE

  • $dayInYear
Dec 30 = 364 Dec 31st = 365 Jan 1st = 1 Jan 2nd = 2 ... I guess you get the gist lol
1
bot.Command({
2
name: "year-stats",
3
code: `
4
We are **$dayInYear/365** days thru this year already!
5
6
We have $sub[365;$dayInYear] days left in the year **$year**
7
`
8
})
Copied!

More:..

1
bot.Command({
2
name: "more-stats",
3
code: `
4
Today is **$weekday**!
5
It's day **$dayInWeek** in the week,
6
Day **$dayInMonth** in the month,
7
And day **$dayInYear** in the year.
8
`
9
})
Copied!
Last modified 10mo ago
Copy link