wday: wday

View source: R/wday.R

wdayR Documentation

wday

Description

Return the day of the week as an integer

Usage

wday(date = Sys.Date())

Arguments

date

A Date object, with the current date as the default

Details

This function simply wraps around the as.POSIXlt function and returns its wday field.

Value

A integer with the weekday component of the date


eddelbuettel/dang documentation built on June 29, 2024, 4:43 a.m.