TimeDirection

TimeDirection

is an option for Sunrise, Sunset, and related functions that specifies whether the next or last event should be returned.

Details

  • Typical settings for TimeDirection include:
  • 1returns the next event from the specified date
    -1returns the last event from the specified date
  • The typical default setting for TimeDirection is 1.

Examples

Basic Examples  (1)

Find the next sunrise:

Find the last sunrise:

Find the next sunset:

Find the last sunset:

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

Text

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

BibTeX

@misc{reference.wolfram_2020_timedirection, author="Wolfram Research", title="{TimeDirection}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/TimeDirection.html}", note=[Accessed: 03-December-2020 ]}

BibLaTeX

@online{reference.wolfram_2020_timedirection, organization={Wolfram Research}, title={TimeDirection}, year={2014}, url={https://reference.wolfram.com/language/ref/TimeDirection.html}, note=[Accessed: 03-December-2020 ]}

CMS

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

APA

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