Port Java date utils to php
Merge pull request #6 from myheritage/master

Port Java date utils to php