Results 1 to 5 of 5

Thread: Timestamp to millisecond

  1. #1
    Join Date
    Oct 2014
    Posts
    71
    Thanks
    13
    Qt products
    Qt5
    Platforms
    Windows

    Question Timestamp to millisecond

    Hi,

    I am getting the Timestamp from my hardware .
    I have to convert the same to millisecond ,
    can any one let me know how to convert Timestamp to millisecond

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Timestamp to millisecond

    What it means to timestamp ? What is the format ?

  3. #3
    Join Date
    Oct 2014
    Posts
    71
    Thanks
    13
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Timestamp to millisecond

    I am getting the timestamp in decimal formation

    i.e Timestamp = 65200
    convert it to millisecond.

  4. #4
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    507
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Timestamp to millisecond

    Hi, the value itself doesn't mean anything. You need to know the unit of your value, could be seconds or years or a counter running with 1.234MHz, depends on your device.

    Ginsengelf

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Timestamp to millisecond

    Quote Originally Posted by anh5kor View Post
    i.e Timestamp = 65200
    What is the unit of the timestamp? What is its origin (0 value)?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Timestamp to time
    By anh5kor in forum Newbie
    Replies: 13
    Last Post: 27th March 2015, 15:21
  2. Replies: 1
    Last Post: 28th April 2011, 13:16
  3. Event timestamp
    By jupi32000 in forum Newbie
    Replies: 1
    Last Post: 14th July 2009, 09:27
  4. Convertng FILETIME timestamp to QDateTime and back again
    By grabnerj in forum Qt Programming
    Replies: 3
    Last Post: 7th July 2008, 22:27
  5. QDateTime from non-standard timestamp
    By pdoria in forum Qt Programming
    Replies: 2
    Last Post: 11th April 2008, 15:09

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.