use unixtime() where possible