Learn R Programming

astronomyengine (version 0.1.0)

astro_current_time: Current UTC time according to Astronomy Engine

Description

Uses the computer's system clock to find the current UTC date and time. Converts that date and time to a POSIXct value and returns the result. Callers can pass this value to other Astronomy Engine functions to calculate current observational conditions.

Usage

astro_current_time()

Arguments

Value

A POSIXct value representing the current UTC date and time.

Details

On supported platforms (Linux/Unix, Mac, Windows), the time is measured with microsecond resolution.

Examples

Run this code
astro_current_time()

Run the code above in your browser using DataLab