Results 1 to 11 of 11

Thread: Qstring to Qdate and vice versa

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Join Date
    Jul 2012
    Posts
    40
    Qt products
    Qt4 Qt/Embedded

    Default Re: Qstring to Qdate and vice versa

    Hi,
    @lesiok :but its not working ....i am not getting wat exactly the problem is ..?
    @airproject :when i print directly "da" it prints QDate("") ...?so it wont go to if loop at all...?

    Guys Please me as it is very urgent or guide me any other through which i can slove my problem ....?


    Regards
    Beginner


    Added after 26 minutes:


    Hi,

    Sorry Guys...problem was solved............. i have given like this QDate da=QDate::fromString(str,"dd-MMM-yyy") where i am missing one 'Y' in this.....
    Last edited by sai_3289; 12th February 2013 at 05:29.

Similar Threads

  1. kde pid from window id and vice versa
    By sky in forum KDE Forum
    Replies: 2
    Last Post: 18th May 2013, 09:17
  2. Replies: 3
    Last Post: 13th May 2011, 13:46
  3. Replies: 10
    Last Post: 15th March 2011, 14:14
  4. conversion between string to hex and vice versa
    By mohanakrishnan in forum Newbie
    Replies: 2
    Last Post: 5th December 2009, 11:25
  5. Convert QByteArray to object and vice versa
    By DiamonDogX in forum Qt Programming
    Replies: 4
    Last Post: 20th July 2009, 20:07

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.