Learn R Programming

solidearthtide (version 1.0.2)

Datenum: Convert date to serial date number as Matlab

Description

Datenum converts date to serial date number with the same values as Matlab's datenum

Usage

Datenum(d)

Arguments

d
date object

Value

Examples

Run this code
Datenum(as.Date("may 27, 1984", "%b %d, %Y"))

Run the code above in your browser using DataLab