Learn R Programming

timeDate (version 4041.110)

rev: Reverse 'timeDate' objects

Description

Reverse a "timeDate" object.

Usage

# S3 method for timeDate
rev(x)

Value

an object of class "timeDate"

Arguments

x

an object of class "timeDate".

Examples

Run this code
dts <- c("1989-09-28", "2001-01-15", "2004-08-30", "1990-02-09")
ZUR <- timeDate(dts, zone = "GMT", FinCenter = "Europe/Zurich")
ZUR
rev(ZUR)

Run the code above in your browser using DataLab