# NOT RUN {
now <- Sys.time()
formatDatetime(now) # current (UTC) time, in full precision RFC3339
formatDatetime(now, tgttzstr="America/New_York") # same but in NY
formatDatetime(now + 0:4) # vectorised
# }
Run the code above in your browser using DataLab