Create a series of timestamps along milliseconds in R
问题 I have start date as "2017-11-14 10:11:01 CET" and end date as "2017-11-15 01:15:59 CET". I want to create timestamps of 500 milliseconds each, between these start and end timestamps. E.g. I need a dataframe containing the following output timestamp 2017-11-14 10:11:01.000 2017-11-14 10:11:01.500 2017-11-14 10:11:02.000 2017-11-14 10:11:02.500 . . . 2017-11-15 01:15:59.000 Somehow, I managed to get the start and end date in milliseconds using the following code: start.date <- strptime("2017