demo of getting and setting current time