Hi, in cxxtools/clock.h:
cxxtools::DateTime current = cxxtools::Clock::getLocalTime(); In the current git I also added: cxxtools::DateTime current = cxxtools::DateTime::localtime(); since no one expects it to be in cxxtools::Clock. Tommi Am 27.08.2015 um 14:56 schrieb Oliver Rath:
Hi list, Im looking for getting a timestamp for creating some file, where it is important. I found some DateTime-stuff in cxxtools, but all my tries got only some "generic" timestamp like 0823-11-24 00:00:00.000, created by cxxtools::DateTime timestamp; mylogfile << timestamp.toIsoString(); How is the way to get the actual time from the system? Tfh! Oliver ------------------------------------------------------------------------------ _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
------------------------------------------------------------------------------
_______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
