Since I'm getting the input as a string and not as a date, and since I really don't want to do any datetime calculations (just present the date in a different way) I figured out that using POSIX would be like trying to kill a fly with a 9 inch cannon.
Also the environment I'm working on is kinda restrictive, so any module that's not installed by default should be considered "exotic".