Use Date objects in client code