This adds 4 new expressions to Skript
day of [the] week [(of|for|at) %date%] - Returns the day of the week, for example "Tuesday"
day [(of|for|at) %date%] - Returns the day of the month, for example "25th"
month [(of|for|at) %date%] - Returns the month, for example "February"
year [(of|for|at) %date%] - Returns the year, for example "2020"
Dependencies
Skript Mirror
Example
Make sure to set Enable American Format to true if you are using month/day/year instead of day/month/year
day of [the] week [(of|for|at) %date%] - Returns the day of the week, for example "Tuesday"
day [(of|for|at) %date%] - Returns the day of the month, for example "25th"
month [(of|for|at) %date%] - Returns the month, for example "February"
year [(of|for|at) %date%] - Returns the year, for example "2020"
Dependencies
Skript Mirror
Example
Code:
command /date:
trigger:
send "&a(Today) &f%day%, %month%, %year% (%day of the week%)"
set {_date} to now
add 1000 days to {_date}
send "&c(1000 days from now) &f%day of {_date}%, %month of {_date}%, %year of {_date}% (%day of the week for {_date}%)"
Make sure to set Enable American Format to true if you are using month/day/year instead of day/month/year