datetime {cwhmisc}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 <c-w.hoffmann@sunrise.ch>
http://www.wsl.ch/personal_homepages/hoffmann/index_EN

Examples

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

[Package cwhmisc version 2.0.1 Index]