Results 1 to 10 of 10

Thread: time in microseconds

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2013
    Posts
    45
    Thanks
    11
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default time in microseconds

    Hi.
    How can i get current time in microseconds but from 1.january.0001. something as .NET MinValue

    i found only this solution.
    std::chrono::time_point<std::chrono::steady_clock> ts = std::chrono::steady_clock::now();
    std::chrono::duration_cast<std::chrono::microsecon ds>(ts.time_since_epoch()).count()+621355968000000 00);
    Last edited by stevocz; 4th November 2016 at 09:43.

Similar Threads

  1. Replies: 6
    Last Post: 25th June 2015, 10:54
  2. Replies: 5
    Last Post: 19th November 2010, 02:25
  3. Replies: 6
    Last Post: 18th August 2010, 12:52
  4. Get QDate from microseconds
    By iddqd in forum Newbie
    Replies: 7
    Last Post: 20th July 2010, 09:51

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.