Tell me please, I have a date and time
date
> head(date) [1] "31-10-2014" "31-10-2014" "31-10-2014" "31-10-2014" "31-10-2014" "31-10-2014" and time
> head(time) [1] "01:35" "01:45" "01:50" "01:55" "02:00" "02:05" you need to remove the "separators" so that it happens
remove the date "-"
> head(date) [1] "31102014" "31102014" "31102014" "31102014" "31102014" "31102014" in time to remove ":"
> head(time) [1] "0135" "0145" "0150" "0155" "0200" "0205" as well as the time you need to add seconds just stupidly "00" at the end
> head(time) [1] "013500" "014500" "015000" "015500" "020000" "020500"