Skip to content

Instantly share code, notes, and snippets.

@mhkeller
Created May 9, 2012 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhkeller/2648781 to your computer and use it in GitHub Desktop.
Save mhkeller/2648781 to your computer and use it in GitHub Desktop.
Dates in R
Symbol Meaning Example
%d day as a number (0-31) 01-31
%a abbreviated weekday, Mon
%A unabbreviated weekday, Monday
%m month (00-12), 00-12
%b abbreviated month, Jan
%B unabbreviated month, January
%y 2-digit year
%Y 4-digit year
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment