day.string {Animal}R Documentation

Convert dates to string

Description

This function converts POSIXt dates to a string reprentation of the date. The string format is convenient when calculating daily summaries etc.

Usage

day.string(x)

Arguments

x A POSIXt object

Value

Day in string format.

Author(s)

Matti Pastell <matti.pastell@helsinki.fi>

See Also

day, hour, week, month

Examples

date <- Sys.time()
day.str <- day.string(date)
print(day.str)

[Package Animal version 1.01 Index]