so basically in this setup we get the time and date from the phone 
save the date in a var 
and change the time and date on the phone with the value we get from the phone 

The last part sounds unnecessary