Replace Datetime:: with self:: & static::
Merge pull request #40 from semalead/own-format-constant

Replace Datetime:: with self:: & static::