ConformDates

ConformDates[dates]

返回一个日期列表,其中所有日期都具有符合要求的属性,包括日历、时区和粒度.

ConformDates[dates,rdate]

以与参考日期 rdate 一致的形式返回所有日期.

更多信息和选项

范例

打开所有单元关闭所有单元

基本范例  (3)

使日期一致:

使日期符合特定的粒度:

使日期与作为模板的参考日期一致:

范围  (2)

ConformDatesDateObjectTimeObject 表达式进行操作,但不对 DateListDateStringAbsoluteTime 规范起作用:

当指定参考日期时,DateGranularityCalendarType 等选项将从该给定日期继承:

选项  (1)

CalendarType  (1)

默认情况下,ConformDates 返回公历日期:

CalendarType 选项可用于指定所需的输出日历:

Wolfram Research (2024),ConformDates,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ConformDates.html.

文本

Wolfram Research (2024),ConformDates,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ConformDates.html.

CMS

Wolfram 语言. 2024. "ConformDates." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ConformDates.html.

APA

Wolfram 语言. (2024). ConformDates. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ConformDates.html 年

BibTeX

@misc{reference.wolfram_2024_conformdates, author="Wolfram Research", title="{ConformDates}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/ConformDates.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_conformdates, organization={Wolfram Research}, title={ConformDates}, year={2024}, url={https://reference.wolfram.com/language/ref/ConformDates.html}, note=[Accessed: 21-November-2024 ]}