Update DateExtension.php

Fixed #11
Removed commented code