how to change the current date and time in linux code example
Example 1: change date linux
date --set="YYYYMMDD HH:MM:SS"
Example 2: how to mannually change date and time in linux
date -s "19 APR 2012 11:14:00"
date --set="YYYYMMDD HH:MM:SS"
date -s "19 APR 2012 11:14:00"