DatedUnit

DatedUnit[unit,date]

represents the specified unit at a specific date.

Details

  • DatedUnit allows you to associate a specific date directly with a specific unit, for use in functions like InflationAdjust.
  • unit specifications should be a single canonical unit string like "USDollars" or "Euros".
  • date can be specified as year, DateObject, or DateList.

Examples

open allclose all

Basic Examples  (1)

Represent the value of 100 yen in 1990:

Account for inflation between 1800 and 1950:

Scope  (1)

DatedUnit specifications can be used in compound unit specifications:

Applications  (1)

Plot the rate of inflation over a period of time:

Possible Issues  (1)

Because the result can differ depending on the order of operation, DatedUnit expressions should have their date and currency standardized with InflationAdjust before arithmetic is performed:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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