Unable to install datetime library

Unable to install date time library tried below command

pip install robotframework-datetime
pip install robotframework-datetime-tz

Getting error
ERROR: Could not find a version that satisfies the requirement robotframework-datetime-tz (from versions: none)
ERROR: No matching distribution found for robotframework-datetime-tz

DateTime Library is built-in (standard library).

Just try:

*** Settings ***
Library      DateTime

*** Test Cases ***
Test DateTime
    ${curdate} =     Get Current Date
    Log    Date is ${curdate}

Docs: https://robotframework.org/robotframework/latest/libraries/DateTime.html#Get%20Current%20Date

5 Likes