fixed dimtime to seconds