Results 1 to 2 of 2

Thread: How to change the date and time of a system

  1. #1
    Join Date
    Jun 2009
    Location
    India
    Posts
    143
    Thanks
    16
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question How to change the date and time of a system

    Hi, i am a beginner

    I would like to know how to update the date and time of the Sytem using QT Classes.

    I have come across QDate , QTime , QTimeEdit, QDateEdit and QDateTimeEdit Class but i dont find any option on updating date and time of the System.

    My idea is if user wants to change the date and time he should and system should run from the user set time and date should get updated.

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to change the date and time of a system

    i think u have to use platform depended api for this

Similar Threads

  1. time and date issues
    By boog07005 in forum Newbie
    Replies: 5
    Last Post: 20th August 2012, 15:15
  2. System time changed event
    By varunjajee in forum Qt Programming
    Replies: 2
    Last Post: 8th April 2009, 06:05
  3. Date and Time format.
    By kaushal_gaurav in forum Qt Programming
    Replies: 3
    Last Post: 12th August 2008, 11:36
  4. to set date and time in the file info of two days back
    By thomasjoy in forum Qt Programming
    Replies: 1
    Last Post: 11th October 2007, 16:54
  5. chage date and time
    By behnia_k in forum General Programming
    Replies: 4
    Last Post: 18th July 2007, 12:48

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.