Trait PHP responsible for handling dates.