added bit nicer way to create datestring