Updated datetime format in queries

New protocol specification