How do I set the date and time in Linux?

Setting Linux date.

Go back 1 hour

date --set='-60 minutes'

Go forward 4 months

date --set='+4 months'

Go back 2 days

date --set='-2 days'

admin has written 102 articles