Added example for To and From with time restrictions. Also fixed setValue and some typos :/