tojulian {ALL} | R Documentation

## Convert Calendar Date to Julian Time

### Description

Convert Calendar Date in the form of "%m/%d/%Y" to Julian time, number of days since 1970-01-01 in the time zone of "GMT".

### Usage

    tojulian(x)

### Arguments

`x` | Date to convert

### Author(s)

Robert Gentleman

### Examples

    ds <- tojulian(c("4/8/2000", "4/30/2000"))
    ds[2]-ds[1]

[Package ALL version 1.4.3 Index]