Hi Kelly, Is it just that you need to multiple the number of seconds my 1000 to get milliseconds? This does seem a bit of trivial answer so I do wonder if your actually after something else.
Robert. On Thu, Jul 16, 2009 at 7:05 PM, Kelly Fields<kelly.br...@jhuapl.edu> wrote: > Hi, > > I am new to Delta3d and have a question about getting system time (or local > time - really any form of time). I am accessing time, but even though the > "seconds" is a float, it does not contain information for milliseconds. How > would I get that? > > Here is my code... > > dtUtil::DateTime time; > time.SetTimeType(dtUtil::DateTime::TimeType::SIMULATION_TIME); > time.SetToLocalTime(); > double winTime = time.GetTimeInSeconds(); > > Please help!! > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=15043#15043 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org