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
![](Files/ConformDates.en/details_1.png)
- ConformDates can be used to standardize a collection of dates such that they use a common calendar, time zone and granularity.
- ConformDates works with a list of DateObject expressions.
- ConformDates has the same options as DateObject: [List of all options]
-
CalendarType Automatic calendar system being used DateGranularity Automatic calendar granularity being used DateFormat Automatic format used to display date TimeZone Automatic time zone being use TimeSystem Automatic time system being used - Options specifications take precedence over the specification in the second argument. Options with value Automatic will inherit their value from those used in the rdate or dtype, if specified.
- If no reference date is given, most commonly occurring granularity, calendar, time zone, time system, etc. will be used.
-
CalendarType Automatic calendar system being used DateFormat Automatic format used to display date DateGranularity Automatic calendar granularity being used TimeSystem Automatic time system being used TimeZone Automatic time zone being use
List of all options
![](Files/ConformDates.en/details_2.png)
Examples
open allclose allBasic Examples (3)
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:
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