diff --git a/R/retrieveNWISData.r b/R/retrieveNWISData.r index a87e019e61602dfe8e3b9e774e8379435540e2ff..3f2447b172509fa593bb5a7e9e1eb948e3c77ffc 100644 --- a/R/retrieveNWISData.r +++ b/R/retrieveNWISData.r @@ -26,6 +26,7 @@ retrieveNWISData <- function (siteNumber,ParameterCd,StartDate,EndDate,StatCd="0 url <- constructNWISURL(siteNumber,ParameterCd,StartDate,EndDate,"dv",StatCd) data <- getWaterML1Data(url) + data$dateTime <- as.Date(data$dateTime) return (data) } \ No newline at end of file