> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 日历日期选择器二（web）

输入网页对象：选择需要进行时间选择的【网页对象】日期时间：填写需要选择的时间。填写规范：YYYY-MM-DD，如2025-06-04元素\_年：捕获年份元素如下图所示，捕获年份元素，需要注意在元素编辑器中去掉 innertext=固定年份的勾选，如 innerText=2025 年，需要去除勾选，同时校验元素为 1 个

<img src="https://mintcdn.com/bazhuayu-rpa-docs/-MjHZKTbcJmyW9VZ/helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-01.png?fit=max&auto=format&n=-MjHZKTbcJmyW9VZ&q=85&s=308230aebf60242fe0b5df8eb53b953e" alt="image" width="282" height="341" data-path="helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-01.png" />

元素\_月：捕获月份元素如下图所示，捕获月份元素，需要注意在元素编辑器中去掉 innertext=固定月份的勾选，如 innerText=6 月，需要去除勾选，同时校验元素为 1 个

<img src="https://mintcdn.com/bazhuayu-rpa-docs/-MjHZKTbcJmyW9VZ/helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-02.png?fit=max&auto=format&n=-MjHZKTbcJmyW9VZ&q=85&s=3331b5a660521254850a7a1c2be076ca" alt="image" width="288" height="345" data-path="helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-02.png" />

年月日相似元素组：需要注意该指令适用于年/月/日期相似元素组能够通用的情况。捕获日期相似元素组，选择器上存在 42 个日期元素，则校验元素也应为 42 个

<img src="https://mintcdn.com/bazhuayu-rpa-docs/-MjHZKTbcJmyW9VZ/helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-03.png?fit=max&auto=format&n=-MjHZKTbcJmyW9VZ&q=85&s=9841a1de90b99511769864625c3de6ab" alt="image" width="287" height="345" data-path="helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-03.png" />

元素\_向前切换年：日历日期选择器中用于向前切换年份的元素，注意校验元素为1个

<img src="https://mintcdn.com/bazhuayu-rpa-docs/-MjHZKTbcJmyW9VZ/helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-04.png?fit=max&auto=format&n=-MjHZKTbcJmyW9VZ&q=85&s=7efa76a34e9321f468dbe5acf4199b67" alt="image" width="288" height="39" data-path="helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-04.png" />

元素\_向后切换年：日历日期选择器中用于向后切换年份的元素，注意校验元素为1个

<img src="https://mintcdn.com/bazhuayu-rpa-docs/-MjHZKTbcJmyW9VZ/helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-05.png?fit=max&auto=format&n=-MjHZKTbcJmyW9VZ&q=85&s=3ddf8efad7de78041683d23f3458149b" alt="image" width="281" height="35" data-path="helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-05.png" />

元素\_向前切换月：日历日期选择器中用于向前切换月份的元素，注意校验元素为1个

<img src="https://mintcdn.com/bazhuayu-rpa-docs/-MjHZKTbcJmyW9VZ/helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-06.png?fit=max&auto=format&n=-MjHZKTbcJmyW9VZ&q=85&s=102f2c54ed3558a32b3e1b57959d44b0" alt="image" width="286" height="35" data-path="helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-06.png" />

元素\_向后切换月：日历日期选择器中用于向后切换月份的元素，注意校验元素为1个

<img src="https://mintcdn.com/bazhuayu-rpa-docs/-MjHZKTbcJmyW9VZ/helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-07.png?fit=max&auto=format&n=-MjHZKTbcJmyW9VZ&q=85&s=7fd72dfb4fc5f9b565a629aa5d5375e7" alt="image" width="285" height="27" data-path="helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-07.png" />

点击元素是否需要偏移：部分网页中，直接点击元素中心点，点击动作无法生效，此时需要根据网页情况加上偏移量向前翻页元素偏移量：针对“元素\_向前切换年”和“元素\_向前切换月”的偏移量，例如：10、-10等，需根据网页情况做调整向后翻页元素偏移量：针对“元素\_向后切换年”和“元素\_向后切换月”的偏移量，例如：10、-10等，需根据网页情况做调整

输出无

# 使用说明

## 1、功能

选择网页的日历日期，通用场景一

<img src="https://mintcdn.com/bazhuayu-rpa-docs/-MjHZKTbcJmyW9VZ/helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-08.png?fit=max&auto=format&n=-MjHZKTbcJmyW9VZ&q=85&s=290bd19ee3f1247057bb34f833411f4a" alt="image" width="280" height="337" data-path="helpcenter/commands/custom-commands/ddzvAqho/images/ko9SFSMw-08.png" />

## 2、采集字段

无

## 3、输出结果

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
