
Shows the in-game date, time, and weekday at the top of the screen!
⚠️ IMPORTANT: USAGE GUIDELINES
If you're planning to use this on a server or modpack,
please refer to:
https://gamedash43.github.io/dash-mcl-licenses/#usage

This add-on displays in-game time, weather conditions, weekdays, and dates using a day tracker that accurately mirrors real-world dates.
/time set or lag can’t throw it off.data/dash.date/function/config.mcfunction to set your initial dates. Follow the instructions in the file carefully before starting a new world.dash.date_arc):%start.year and %display.year for the year.%ani.month and %display.month for the month.%ani.date and %display.date for the day./function dash.date:update to let the system self-correct./scoreboard players set @s dash.date_bd.month [birthday month] /scoreboard players set @s dash.date_bd.date [birthday date]Using division and modulo operations, the datapack converts game ticks into a 12-hour clock while computing the day-of-year by summing monthly offsets and adjusting for leap years using the standard 4-100-400 rule. Weekdays are determined with a variant of Zeller’s Congruence, and the daycounter algorithm calculates an absolute day value by summing full-year contributions (with leap day adjustments) and the current day-of-year before subtracting a defined start date. In addition, Easter is determined using a classical algorithm that applies modulo and floor division operations to compute the correct month and day, and the lunar new year is approximated by offsetting the year from 1900, taking the remainder modulo 19, and mapping that result to a specific day-of-year.
What special events are available?Special events include:
New Year's Eve: Chat message and firework show at midnight (if outdoors).
Lunar New Year: Fireflies appear on join and wake up.
Valentine's Day: Hearts appear when you join and wake up.
St Patrick's Day: Green particles appear when you join and wake up.
Easter: Green and White particles appear when you join and wake up.
Thanksgiving: Autumn leaves appear on join and wake up.
Winter Holidays: Snow appears when you join/wake up.
Birthday: Happy birthday song and message to all players.
World Anniversary: Firework show and commemorative message on the world's creation date.
Other events, like New Year's Day and April Fools, are planned for future updates.
Use the commands provided to set your birthday:
/scoreboard players set @s dash.date_bd.month [birthday month] /scoreboard players set @s dash.date_bd.date [birthday date]Just run the command /function dash.date:uninstall.
If you're updating from a previous version, you must set the start year with this command:/scoreboard players set %start.year 0 and /function dash.date:update