ConformDates

ConformDates[dates]

returns a list of dates where all dates are made to have conforming properties, including calendar, time zone and granularity.

ConformDates[dates,rdate]

returns all dates in a form consistent with the reference date rdate.

Details and Options

Examples

open allclose all

Basic Examples  (3)

Conform dates:

Conform dates to a specific granularity:

Use a reference date as a template to conform to:

Scope  (2)

ConformDates operates on DateObject and TimeObject expressions, but not DateList, DateString or AbsoluteTime specifications:

When a reference date is specified, options such as DateGranularity, CalendarType, etc. will be inherited from the given date:

Options  (1)

CalendarType  (1)

By default, ConformDates returns dates in the Gregorian calendar:

The CalendarType option can be used to specify a desired output calendar:

Wolfram Research (2024), ConformDates, Wolfram Language function, https://reference.wolfram.com/language/ref/ConformDates.html.

Text

Wolfram Research (2024), ConformDates, Wolfram Language function, https://reference.wolfram.com/language/ref/ConformDates.html.

CMS

Wolfram Language. 2024. "ConformDates." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ConformDates.html.

APA

Wolfram Language. (2024). ConformDates. Wolfram Language & System Documentation Center. Retrieved from 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: 22-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: 22-November-2024 ]}