date {base} |
R Documentation |
System Date and Time
Description
Usage
date(
str = NULL,
format = NULL,
safe = TRUE);
Arguments
str
this parameter also can accept the unix timestamp. [as string]
format
specific the date string parser format, example as yyyyMMdd
will be
used for parse the given string 20220101
as #2022-01-01#
. [as string]
Details
the given number string will not be treated as unix timestamp
if the format string has been specific.
Authors
SMRUCC genomics Institute
Value
Returns a character string of the current system date and time.
clr value class
Examples
[Package
base version 2.33.856.6961
Index]