date

Return the Current date as character vector.

Syntax

  • d = date()

Output argument

  • d - a string: date string using format dd-MMM-yyy. MMM: English abbreviation for the month name.

Description

d = date() returns the current date as a character vector in the format dd-MMM-yyyy.

Example

d = date()
fix(c)

See also

now.

History

Author

Allan CORNET

Last updated