datetime {cwhstring}R Documentation

Show date and time in ISO format

Description

datetime() outputs date and time in ISO format

Usage

datetime(); mydate(); mytime()

Arguments

none

Value

character string

Note

These functions are implemented using POSIX

Author(s)

Christian W. Hoffmann, christian.hoffmann@wsl.ch, http://www.wsl.ch/staff/christian.hoffmann

Examples

datetime()  #[1] "2001-02-07, 15:24:51"
mydate()    #[1] "2001-02-07"
mytime()    #[1] "15:24:12"

[Package cwhstring version 1.0.3 Index]