Results 1 to 3 of 3

Thread: Date format in mssql

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    Date format in mssql

    is there nay function that will say me if a given text i have has the correct date format?
    \m/\m/

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    It would be easier and less error prone in your app if you use drop down lists instead of letting the user type the date in. Every person likes to write the date different. If you only use the dropdowns, then you can ensure that you can create the date they wanted.

  3. #3
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277
    If getting the date from a user via the web, this ASP.NET control works great!

    If you're using a WinForm, try the ComboBox approach hellswraith mentioned. You can combine that with the IsDate function.
    ~Peter


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width