In reply to Re^2: Detecting whether DateTime object has a time component or not? by perlancar in thread Detecting whether DateTime object has a time component or not? by perlancar