set time optionally raw