Results 1 to 6 of 6

Thread: *not resolved:) * DateTime confusion, help me plz :(

Threaded View

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    *not resolved:) * DateTime confusion, help me plz :(

    I'm simply trying to parse from this date string:
    Thu Oct 10 19:21:45 2002


    I'm just testing it with a simple string, and its not working

    Dim dtfi As New Globalization.DateTimeFormatInfo
    dtfi.LongDatePattern="ddd"
    doing DateTime.Parse("mon", dtfi) will give me an error. It will work if I choose the current day of the week instead of "mon" though. Other than that, I get this error:
    Run-time exception thrown : System.FormatException - String was not recognized as a valid DateTime because the day of week was incorrect.

    someone help me out plz I want to parse from the date string above, but seems like I cant
    Last edited by MrPolite; Oct 18th, 2003 at 07:22 PM.
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

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