title: How to merge date and time into one variable
body: <p>I want to have a date variable and a time variable as one variable like this <code>2012-05-02 07:30</code></p>
  <p>This code does the job, but I need to get a new combined variable into the data frame, and this code shows it only in the console
  <code>as.POSIXct(paste(data$Date, data$Time), format=&quot;%Y-%m-%d %H:%M&quot;)</code></p>
  <p>This code is supposed to combine time and date, but seemingly doesn't do that. In the column &quot;Combined&quot; only the date appears
  <code>data$Combined = as.POSIXct(paste0(data$Date,data$Time))</code></p>
  <p>Here's the data</p>
  <pre><code>structure(list(Date = structure(c(17341, 18198, 17207, 17023, 
  17508, 17406, 18157, 17931, 17936, 18344), class = &quot;Date&quot;), Time = c(&quot;08:40&quot;, 
  &quot;10:00&quot;, &quot;22:10&quot;, &quot;18:00&quot;, &quot;08:00&quot;, &quot;04:30&quot;, &quot;20:00&quot;, &quot;15:40&quot;, 
  &quot;11:00&quot;, &quot;07:00&quot;)), row.names = c(NA, -10L), class = c(&quot;tbl_df&quot;, 
  &quot;tbl&quot;, &quot;data.frame&quot;))
  </code></pre>