powered by
Print Date and Time as yyyy-mo-do hr:mi:se msec
showdatetime(rd, AMPM = FALSE, verbose=TRUE)
Side Effects
date time list, jd hr mi sec yr
24 hour time (AMPM=FALSE) or 12 hour clock (AMPM=TRUE)
logical, print information to screen, default=TRUE
Jonathan M. Lees<jonathan.lees@unc.edu>
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