Add datetime in construtor