You need to have root access on your system t perform this operation.
date +%Y%m%d -s “20090502″
To set the time in Linux, enter
date +%T -s “11:14:00″
There are other ways too :
date -s “2 MAY 2009 11:14:00″ OR date 05021118
The format is date MMDDhhmm