Learn R Programming

bigD (version 0.3.1)

Flexibly Format Dates and Times to a Given Locale

Description

Format dates and times flexibly and to whichever locales make sense. Parses dates, times, and date-times in various formats (including string-based ISO 8601 constructions). The formatting syntax gives the user many options for formatting the date and time output in a precise manner. Time zones in the input can be expressed in multiple ways and there are many options for formatting time zones in the output as well. Several of the provided helper functions allow for automatic generation of locale-aware formatting patterns based on date/time skeleton formats and standardized date/time formats with varying specificity.

Copy Link

Version

Install

install.packages('bigD')

Monthly Downloads

194,395

Version

0.3.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Richard Iannone

Last Published

April 3rd, 2025

Functions in bigD (0.3.1)

names_months

Get a vector of all the short month names
standard_time

Obtain a standard time format that works across locales
names_wkdays

Get a vector of all the short weekday names
standard_date

Obtain a standard date format that works across locales
standard_date_time

Obtain a standard datetime format that works across locales
flex_d_lst

A list of all flexible date types
first_day_of_week

Get a named vector of all first-day-of-the-week names for different regions
fdt_locales_vec

Get a vector of all supported locales
flex_t24_vec

Get a vector of all 24-hour flexible time types
flex_t12_vec

Get a vector of all 12-hour flexible time types
flex_d_vec

Get a vector of all flexible date types
fdt

Format a datetime with a formatting string
flex_t24_lst

A list of all 24-hour flexible time types
flex_t12_lst

A list of all 12-hour flexible time types
fdt_locales_lst

A list of all supported locales