Set date and time:
date -s 12:10:00 date -s 01/01/2000
Get seconds since 1970-01-01 00:00:00:
date +%s