MaxDate

MaxDate[{date1,date2,}]

gives the latest date of the datei.

MaxDate[interval]

gives the endpoint of the date interval interval.

MaxDate[interval,gran]

gives the endpoint of interval as specified by granularity gran.

Details

Examples

open allclose all

Basic Examples  (4)

Find the last date in a list of date objects:

Find the last date in a list of dates in different forms:

Find the final timestamp of a TimeSeries object:

Find the final timestamp in a Databin object:

Properties & Relations  (2)

MaxDate[data] is equivalent to the last element of DateBounds[data]:

MinDate[data] returns the earliest date in data and MaxDate[data] returns the latest date:

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

Text

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

BibTeX

@misc{reference.wolfram_2021_maxdate, author="Wolfram Research", title="{MaxDate}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/MaxDate.html}", note=[Accessed: 02-August-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_maxdate, organization={Wolfram Research}, title={MaxDate}, year={2020}, url={https://reference.wolfram.com/language/ref/MaxDate.html}, note=[Accessed: 02-August-2021 ]}

CMS

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

APA

Wolfram Language. (2020). MaxDate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MaxDate.html