Learn R Programming

RSEIS (version 1.1-1)

recdate: Rectify Date

Description

Rectify a date that may be out of wack.

Usage

recdate(jd=0, hr=0, mi=0, sec=0, yr=0)
recdatel(X)

Arguments

jd
Julian Day
hr
hours
mi
minutes
sec
seconds
yr
year (not used)
X
list of date

Value

  • jdJulian Day
  • hrhours
  • miminutes
  • secseconds
  • yryear

Details

Returns date with correct numbers. So if number of seconds is greater than 60, will add in to minutes...

Examples

Run this code
recdate(76, 23, 22, 2000)

Run the code above in your browser using DataLab