Skip to content

Instantly share code, notes, and snippets.

@johnjosephhorton
Created December 1, 2010 21:53
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 johnjosephhorton/724298 to your computer and use it in GitHub Desktop.
Save johnjosephhorton/724298 to your computer and use it in GitHub Desktop.
This is the correct strptime to parse the datetime string that MTurk generates
accept_time <- sapply(results$AcceptTime,
function(t){as.numeric(as.POSIXct(as.character(t), "%a %b %d %H:%M:%S GMT %Y", tz="UTC"))}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment