Because AbsoluteTime
does not have the Listable
attribute it does not automatically thread over lists. You can instead use Map
(/@
) to achieve converting a list of date-times to their absolute time value:
In[11]:= AbsoluteTime /@ {DateObject[{2018, 1, 19, 10, 16,
5.742317`7.511662151496675}, "Instant", "Gregorian", -6.`],
DateObject[{2018, 1, 20, 10, 16, 5.744265`7.511809454786524},
"Instant", "Gregorian", -6.`],
DateObject[{2018, 1, 21, 10, 16, 5.744271`7.511809908415585},
"Instant", "Gregorian", -6.`]}
Out[11]= {3.725345765742317*10^9, 3.725432165744265*10^9,
3.725518565744271*10^9}
If this doesn't answer a question, please post a sample of your code that demonstrates the error message.