Added timeAndDate primitive
Fixed some bugs