added alternative queries to datetime