Lines Matching full:date
21 [Documentation] Verify host date & time.
33 ${bmc_date}= Get Current Date from BMC
34 # Date format example: 2022-10-12 16:31:17
35 Log To Console BMC Date: ${bmc_date}
39 # verify date matching pldmtool vs BMC current time.
44 [Documentation] Verify set date & time for the host.
52 ${current_date_time}= Get Current Date UTC exclude_millis=True
56 ${date}= Add Time To Date ${current_date_time} 400 days exclude_millis=True
57 ${upgrade_date}= Evaluate re.sub(r'-* *:*', "", '${date}') modules=re
59 ${time}= Add Time To Date ${current_date_time} 01:01:00 exclude_millis=True
62 # Set date.
130 ${result}= Get Current Date UTC exclude_millis=True
138 [Documentation] Set date time to manual mode via Redfish.
145 Get Current Date from BMC
146 [Documentation] Runs the date command from BMC and returns current date and time.
148 # Get Current Date from BMC.
149 ${date} ${stderr} ${rc}= BMC Execute Command date
152 # join to form %d %b %H:%M:%S %Y date format
153 ${date}= Split String ${date}
154 Remove From List ${date} 0
155 Remove From List ${date} -2
156 ${date}= Evaluate " ".join(${date})
158 # Convert the date format to %Y/%m/%d %H:%M:%S
159 ${date}= Convert Date ${date} date_format=%b %d %H:%M:%S %Y
162 RETURN ${date}