julday | R Documentation |
julian
is used to calculate the astronomical Julian day (days since since January 1, 4713 BCE at noon UTC) from a given year, month and day.
julday(year, month, day, hour = 12, min = 0, sec = 0, dst = 0)
year |
year (AD). |
month |
month in numeric form (1-12). |
day |
days of the month (1-31). |
hour |
hours (decimal, 0-23). |
min |
minutes (decimal, 0-59). |
sec |
seconds (decimal, 0-59). |
dst |
an optional numeric value specifying the time zone expressed as hours different from GMT (-ve to west). |
Julian Day. I.e. the number of days since January 1, 4713 BCE at noon UTC.
jd1 <- julday(2010, 1, 31)
jd2 <- julday(2010, 1, 31, 11, 0, 0)
jd1 - jd2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.