Added a few DateTime helper functions