made some minor changes to the clock sequence generator for date times