Encode date & time into seconds | ScratchStats