in reply to Re: Providing Fractions of a second to DateTime?
in thread Providing Fractions of a second to DateTime?
Well, that didn't work, since it doesn't take millisecond as an argument to new, so I tried converting $pStart to nanoseconds-since-midnight and substituting in that, but alas - it seems that the nanosecond value is only for providing the intra-second-delta.my $dt = DateTime->new(year=>$pYear, month=>$pMonth, day=>$pDay, millisecond=>$pStart, time_zone=>$tZone);
See my above response to what I think I need to do. I'm hoping someone will show me a better way...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Providing Fractions of a second to DateTime?
by ansh batra (Friar) on Jun 12, 2012 at 14:32 UTC | |
by tobyink (Canon) on Jun 12, 2012 at 14:35 UTC | |
by ansh batra (Friar) on Jun 12, 2012 at 14:44 UTC |