working datetime test functions