Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
4 added 198 characters in body
source | link

Using DateList first and then using DateObject seems to work:

DateObject[
 DateList[{"2014/01/09 07:24:36:985", {"Year", "/", "Month", "/", 
    "Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
    "Millisecond"}}]]

The fractional seconds are in the DateObject, but are not displayed.

Consider:

date1 = DateObject[DateList[{"2014/01/09 07:24:36:555", {"Year", "/", "Month", "/","Day", " ", "Hour24", ":", "Minute", ":", "Second", ":","Millisecond"}}]]
date2 = DateObject[DateList[{"2014/01/09 07:24:36:100", {"Year", "/", "Month", "/","Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
 "Millisecond"}}]]
FullForm[date1]
FullForm[date1 - date2]

This is directly visible by looking at the InputForm, e.g.

InputForm@date1
(* 
 DateObject[{2014, 1, 9}, TimeObject[{7, 24, 36.555}, TimeZone -> -6.], TimeZone -> -6.]
*)

Using DateList first and then using DateObject seems to work:

DateObject[
 DateList[{"2014/01/09 07:24:36:985", {"Year", "/", "Month", "/", 
    "Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
    "Millisecond"}}]]

The fractional seconds are in the DateObject, but are not displayed.

Consider:

date1 = DateObject[DateList[{"2014/01/09 07:24:36:555", {"Year", "/", "Month", "/","Day", " ", "Hour24", ":", "Minute", ":", "Second", ":","Millisecond"}}]]
date2 = DateObject[DateList[{"2014/01/09 07:24:36:100", {"Year", "/", "Month", "/","Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
 "Millisecond"}}]]
FullForm[date1]
FullForm[date1 - date2]

Using DateList first and then using DateObject seems to work:

DateObject[
 DateList[{"2014/01/09 07:24:36:985", {"Year", "/", "Month", "/", 
    "Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
    "Millisecond"}}]]

The fractional seconds are in the DateObject, but are not displayed.

Consider:

date1 = DateObject[DateList[{"2014/01/09 07:24:36:555", {"Year", "/", "Month", "/","Day", " ", "Hour24", ":", "Minute", ":", "Second", ":","Millisecond"}}]]
date2 = DateObject[DateList[{"2014/01/09 07:24:36:100", {"Year", "/", "Month", "/","Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
 "Millisecond"}}]]
FullForm[date1]
FullForm[date1 - date2]

This is directly visible by looking at the InputForm, e.g.

InputForm@date1
(* 
 DateObject[{2014, 1, 9}, TimeObject[{7, 24, 36.555}, TimeZone -> -6.], TimeZone -> -6.]
*)
3 added 373 characters in body
source | link

Using DateList first and then using DateObject seems to work:

DateObject[
 DateList[{"2014/01/09 07:24:36:985", {"Year", "/", "Month", "/", 
    "Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
    "Millisecond"}}]]

But still noThe fractional seconds. As previous comment suggests I guess it's are in the DateObject, but are not supporteddisplayed.

Consider:

date1 = DateObject[DateList[{"2014/01/09 07:24:36:555", {"Year", "/", "Month", "/","Day", " ", "Hour24", ":", "Minute", ":", "Second", ":","Millisecond"}}]]
date2 = DateObject[DateList[{"2014/01/09 07:24:36:100", {"Year", "/", "Month", "/","Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
 "Millisecond"}}]]
FullForm[date1]
FullForm[date1 - date2]

Using DateList first and then using DateObject seems to work:

DateObject[
 DateList[{"2014/01/09 07:24:36:985", {"Year", "/", "Month", "/", 
    "Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
    "Millisecond"}}]]

But still no fractional seconds. As previous comment suggests I guess it's not supported.

Using DateList first and then using DateObject seems to work:

DateObject[
 DateList[{"2014/01/09 07:24:36:985", {"Year", "/", "Month", "/", 
    "Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
    "Millisecond"}}]]

The fractional seconds are in the DateObject, but are not displayed.

Consider:

date1 = DateObject[DateList[{"2014/01/09 07:24:36:555", {"Year", "/", "Month", "/","Day", " ", "Hour24", ":", "Minute", ":", "Second", ":","Millisecond"}}]]
date2 = DateObject[DateList[{"2014/01/09 07:24:36:100", {"Year", "/", "Month", "/","Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
 "Millisecond"}}]]
FullForm[date1]
FullForm[date1 - date2]
2 Formatted code
source | link

Using DateListDateList first and then using DateObjectDateObject seems to work:

DateObject[ DateList[{"2014/01/09 07:24:36:985", {"Year", "/", "Month", "/", "Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", "Millisecond"}}]]

DateObject[
 DateList[{"2014/01/09 07:24:36:985", {"Year", "/", "Month", "/", 
    "Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
    "Millisecond"}}]]

But still no fractional seconds. As previous comment suggests I guess it's not supported.

Using DateList first and then using DateObject seems to work:

DateObject[ DateList[{"2014/01/09 07:24:36:985", {"Year", "/", "Month", "/", "Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", "Millisecond"}}]]

But still no fractional seconds. As previous comment suggests I guess it's not supported.

Using DateList first and then using DateObject seems to work:

DateObject[
 DateList[{"2014/01/09 07:24:36:985", {"Year", "/", "Month", "/", 
    "Day", " ", "Hour24", ":", "Minute", ":", "Second", ":", 
    "Millisecond"}}]]

But still no fractional seconds. As previous comment suggests I guess it's not supported.

1
source | link