develop and optimization datetime helper