Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

LR gets the current time

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Lr_save_datetime, save the current date and time to a parameter.

Common scenarios: this function is added to the script when the system stability is dialed (used in conjunction with if-else), and the current time is automatically printed when the dialing test fails, providing a time entry point for troubleshooting the failure of the dialing test.

/ / get the current time and save it to the variable aTime

Lr_save_datetime ("time now is Y-%m-%d H-%M-%S", DATE_NOW+TIME_NOW, "aTime")

/ / print the value of the variable aTime

Lr_error_message (lr_eval_string ("{aTime}"))

Playback

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report