Learn R Programming

DatastreamDSWS2R (version 1.8.2)

dotconvert_JSON_Datetime: .convert_JSON_Datetime

Description

this is a modification of the function provided by 'phiver' on http://stackoverflow.com/questions/32076957/nas-introduced-when -transforming-json-date

Usage

.convert_JSON_Datetime(Input_Strings)

Value

an array POSIXct/POSIXt object

Arguments

Input_Strings

a JSON Date string (or an array)

Details

converts a JSON Date string (including with Timezone) to a POSIXct/POSIXt object