Moved DateTime helper functions to DateTimeExtensions