Description Usage Arguments Value Author(s) Examples
The date/time values in KoBo usually get stored in a format like the following: "2015-08-27T13:28:29.000+06:30". These functions process these date/times into more usable formats.
1 2 3 | kobo_time_parser_UTC(instring)
kobo_time_parser(instring, timezone = Sys.timezone())
|
instring |
A date/time format coming from KoBo. |
timezone |
A valid timezone, available in the list available
from |
The kobo_time_parser_UTC
function returns a POSIXct object,
while the kobo_time_parser
function returns a formatted character
string that can be easily parsed as a date/time object.
Ananda Mahto
1 2 3 4 5 6 | TIME <- "2015-08-27T13:28:29.000+06:30"
kobo_time_parser_UTC(TIME)
kobo_time_parser(TIME)
kobo_time_parser(TIME, timezone = "Asia/Rangoon")
kobo_time_parser(TIME, timezone = "America/Los_Angeles")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.