create_pub_date: Create Publication Date

View source: R/publication-date-element.R

create_pub_dateR Documentation

Create Publication Date

Description

Creates publication date according to EML standards.

Usage

create_pub_date(date = NULL)

Arguments

date

The publication date. If left null, it will be assigned the current date. This can be overridden by putting in a specific date.

Value

A publication date object that can be appended to a dataset or project.

Examples

create_pub_date(date = "2020-08-19")
             
# Creates current date:              
create_pub_date() 

CVPIA-OSC/EMLaide documentation built on Aug. 25, 2023, 8:53 a.m.