Skip to content
Prev 321498 / 398500 Next

Creating "%d/%m/%Y %H:%M:%S" format from separate date andtimecolumns

avoid using F, spell it out

Use an appropriate TZ... e.g. use Sys.setenv( TZ="Etc/GMT+5" ) before converting if your time is local standard time year round

Use difftime to add to time values for consistent results

endt <- startt + as.difftime( data2$V6, units="secs" )

Use the str function to explore your data
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
Cat Cowie <cat.e.cowie at gmail.com> wrote: