MinDate
MinDate[{date1,date2,…}]
gives the earliest date of the datei.
MinDate[interval]
gives the beginning of the date interval interval.
MinDate[interval,gran]
gives the beginning of interval as specified by granularity gran.
Details
- MinDate[dates] accepts dates in all standard date notations, including DateObject, DateInterval, DateList, AbsoluteTime and DateString formats.
- For lists of dates, MinDate returns dates in the same form in which they were given. For TemporalData and Databin, DateObject expressions are returned.
- MinDate[tseries] works on all forms of TemporalData, including TimeSeries and EventSeries.
Examples
open allclose allBasic Examples (4)
Find the first date in a list of date objects:
Find the first date in a list of dates in different forms:
Find the first timestamp of a TimeSeries object:
Find the first timestamp of a Databin object:
Properties & Relations (2)
MinDate[data] is equivalent to the first element of DateBounds[data]:
MinDate[data] returns the earliest date in data and MaxDate[data] returns the latest date:
Text
Wolfram Research (2020), MinDate, Wolfram Language function, https://reference.wolfram.com/language/ref/MinDate.html.
CMS
Wolfram Language. 2020. "MinDate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MinDate.html.
APA
Wolfram Language. (2020). MinDate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MinDate.html