Learn R Programming

WikipediR (version 1.1.0)

wiki_timestamp: Timestamp conversion function

Description

wiki_timestamp converts MediaWiki timestamps to POSIX-compliant timestamps, and vice-versa.

Usage

wiki_timestamp(timestamp, to_wiki = FALSE)

Arguments

timestamp
The timestamp(s) you wish to convert, provided as a vector. If the intent is to convert them into MediaWiki timestamps, they must be POSIX-compliant.
to_wiki
Whether the intent is to convert them from POSIX to MediaWiki. Set to FALSE by default