How can you prevent user manipulating dates or time [ the best scenario ]?

Hello Everyone

How can you prevent manipulating dates or time [ the best scenario ] on his/her phone/tablet by changing it ?

is it collecting the [ time + date from a php file ] (server) each time or is there better solution for this dilemma

thank you all.

and the complete thread is good to read.