get_datetime
Retrieve current date and time with an optional timezone parameter, defaulting to 'Asia/Shanghai'. Ideal for synchronizing timestamps in weather forecasts or applications requiring precise time data.
Instructions
获取当前的日期和时间。可以提供一个可选的时区参数,默认为 'Asia/Shanghai'。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
timezone | No | 可选的时区,例如 'America/New_York', 'Europe/London'。如果未提供,默认为 'Asia/Shanghai'。 |