anytime aims to convert anything in integer, numeric, character, factor, ordered, ... format to POSIXct (or Date) objects -- and does so without requiring a format string. See the anytime page for a few examples.
Release 0.1.0 adds several new features. New functions
utcdate() parse to coordinated universal time (UTC). Several new formats were added. Digit-only formats like 'YYYYMMDD' with or without 'HHMMSS' (or even with fractional secodns 'HHMMSS.ffffff') are supported more thoroughly. Some examples:
R> library(anytime) R> anytime("20161107 202122") ## all digits  "2016-11-07 20:21:22 CST" R> utctime("2016Nov07 202122") ## UTC parse example  "2016-11-07 14:21:22 CST" R>
NEWS file summarises the release:
Changes in anytime version 0.1.0 (2016-11-06)
utcdate()were added to parse input as coordinated universal time; the functionality is also available in
anydate()via a new argument
New (date)time format for RFC822-alike dates, and expanded existing datetime formats to all support fractional seconds (PR #21)
Extended functionality to support ‘HHMMSS[.ffffff]’ following other date formats.
Documentation and tests have been expanded; typos corrected
New (unexported) helper functions
More robust support for non-finite values such as
Inf(Fixing issue #16)
gettz provides a possible fallback in situations where
Sys.timezone() fails to determine the system timezone. That can happen when e.g. the file
/etc/localtime somehow is not a link into the corresponding file with zoneinfo data in, say,
This release adds a second
#ifdef to permit builds on Windows for the previous R release (ie
r-oldrel-windows). No new code, or new features.