Results 1 to 7 of 7

Thread: Regular Expression for QDate [YYYY/MM/DD] format

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: Regular Expression for QDate [YYYY/MM/DD] format

    For date try something like that

    Qt Code:
    1. QRegExp reDate("[0-9]{0,4}/[0-9]{0,2}/[0-9]{0,2}");
    To copy to clipboard, switch view to plain text mode 
    a life without programming is like an empty bottle

  2. The following user says thank you to zlatko for this useful post:

    bera82 (21st March 2006)

Similar Threads

  1. Some very weird compilation warnings
    By MarkoSan in forum Qt Programming
    Replies: 21
    Last Post: 23rd January 2008, 16: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
  •  
Qt is a trademark of The Qt Company.