3asel Posted February 12, 2020 Share Posted February 12, 2020 I've quickly made this script as I was 1. bored and 2. annoyed with the american date format. If you too are annoyed about the incorrect date format for your server, this function will help you out a lot. https://www.spigotmc.org/resources/%E2%8C%A9-format-time-%E2%8C%AA.75149/ # FORMATS: DESCRIPTION: EXAMPLES: # # DAY: # dd/ day (number) 1 # ddo/ day (ordered) 1st # dm/ month (number) 1 # dmw/ month (word) January # dy/ year (2 digits) 20 # dyf/ year (4 digits) 2020 # # TIME: # th/ hour (12 hour) 12 # thh/ hour (24 hour) 24 # tm/ minute 60 # tme/ meridiem am # tmee/ meridiem AM # # EXAMPLES: # # ddo/ dmw/ dyf/ - thh/:tm/ 12th February 2020 - 20:25 # dd//dm//dyf/ - thh/:tm/ 12/2/2020 - 20:25 # ddo/ dmw/ dyf/ 12th February 2020 # th/:tm/ tmee/ 8:25 PM Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now