Learn R Programming

RSEIS (version 1.0-9)

recdate: Rectify Date

Description

Rectify a date that may be out of wack.

Usage

recdate(jd, hr, mi, sec)
recdatel(X)

Arguments

jd
Julian Day
hr
hours
mi
minutes
sec
seconds
X
list of date

Value

  • jdJulian Day
  • hrhours
  • miminutes
  • secseconds

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