Learn R Programming

RSEIS (version 2.6-0)

showdatetime: Print Date/TIME

Description

Print Date and Time as yyyy-mo-do hr:mi:se msec

Usage

showdatetime(rd, AMPM = FALSE)

Arguments

Value

  • Side Effects

Examples

Run this code
hrs = seq(from=-36, to=36, by=2)

rd = recdate(jd=1, hr=hrs, mi=34, sec=23+runif(n=length(hrs), 0, 59) , yr=2009)

showdatetime(rd)

showdatetime(rd, AMPM=TRUE)

Run the code above in your browser using DataLab