Re: [R] How to convert column from millisecond epoch time to yyyy-mm-dd GMT

2020-06-23 Thread William Dunlap via R-help
When you give an example it really helps to (a) show the data as the output of dput() or dump() so one can copy and paste into R and (b) show the result (the wrong value or error message) that you got. You example is missing some quotes and has an unneeded call to lapply(). > dump("Data", file=st

Re: [R] How to convert column from millisecond epoch time to yyyy-mm-dd GMT

2020-06-23 Thread Enrico Schumann
On Tue, 23 Jun 2020, Gregg via R-help writes: > Hello to all the smart people out there > > I have a data.frame labeled itsm_service_type_field. I need to convert > the Timestamp field which is epoch time in milliseconds to a > -mm-dd GMT Date.  > > Data.frame format is below. > > I've att

[R] How to convert column from millisecond epoch time to yyyy-mm-dd GMT

2020-06-23 Thread Gregg via R-help
Hello to all the smart people out there I have a data.frame labeled itsm_service_type_field. I need to convert the Timestamp field which is epoch time in milliseconds to a -mm-dd GMT Date.  Data.frame format is below. I've attempted to use the lapply and as.POSIXct functions to convert