Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi,
I am creating a R script to read the dataiku project metadata from project path itself i.e. /DATA_DIR/config/projects/project_nm/params.json file. I am not able to understand the date forma used in the file i.e. 1581031993308. Could you please suggest what is this date format and if you have handy format function in R for this it would be very helpful ?
Hi,
This is a UNIX timestamp, i.e. the number of milliseconds since 1970-01-01T00:00:00.000Z
There are many ways to parse this in R:
as.POSIXct(1581031993308/1000, origin="1970-01-01", timezone="GMT")
anytime(1581031993308/1000)
as_datetime(1581031993308/1000)
Hi,
This is a UNIX timestamp, i.e. the number of milliseconds since 1970-01-01T00:00:00.000Z
There are many ways to parse this in R:
as.POSIXct(1581031993308/1000, origin="1970-01-01", timezone="GMT")
anytime(1581031993308/1000)
as_datetime(1581031993308/1000)
Thanks Clement !! That solves my problem.
@Clément_Stenac suppose we do not want the date to be transformed into this DSS defined date format in json file, what steps we should take?