Adding datetime extensions.