showdatetime: Print Date/TIME

View source: R/showdatetime.R

showdatetimeR Documentation

Print Date/TIME

Description

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

Usage

showdatetime(rd, AMPM = FALSE, verbose=TRUE)

Arguments

rd

date time list, jd hr mi sec yr

AMPM

24 hour time (AMPM=FALSE) or 12 hour clock (AMPM=TRUE)

verbose

logical, print information to screen, default=TRUE

Value

Side Effects

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

Examples

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)



RSEIS documentation built on Aug. 19, 2023, 5:07 p.m.