oyyou's Profile User Rating: -----

Reputation: 15 Tradesman
Group:
Active Members
Active Posts:
116 (0.1 per day)
Joined:
26-April 10
Profile Views:
2,676
Last Active:
User is online 2 minutes ago
Currently:
Viewing Topic: Converting to a Date

Previous Fields

Country:
Who Cares
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0
Icon   oyyou has not set their status

Posts I've Made

  1. In Topic: Converting to a Date

    Posted 18 Jun 2013

    So it was actually quite simple. I don't know how I didn't know this already
            public static string FormatDate(string input)
            {
                DateTime dt;
                var rawr = DateTime.TryParse(input, out dt);
    
                string something = dt.ToString("dd MMMM yyyy");
    
                return something;
            }
    
    
  2. In Topic: Converting to a Date

    Posted 18 Jun 2013

    Yes, of course, but I don't know how to convert "AUG" into "AUGUST" (And such).
    I believe I may have to do something with IFormatProvider
     IFormatProvider culture = new System.Globalization.CultureInfo("en-GB", true);
    

    And then use that in a DateTime Parse, but I'm really not sure.
  3. In Topic: Task: Loading a texture using Texture2D.FromFile() in XNA 4.0

    Posted 12 Jun 2013

    When I was doing it, I had to create a new event, so when the mouse was over the tileDisplay (MouseHover?), or when the scrollbar was moved, it would refresh. It was a complete pain because of how much has changed since Nick did his tutorials.
  4. In Topic: Custom Shaped Windows

    Posted 12 Jun 2013

    View Postmodi123_1, on 12 June 2013 - 05:19 AM, said:

    I know this is VB.NET - but you should get an idea where to go:


    Why do you hate me, Modi! You can't just expect somebody to look through Vb and not die!
    So mean.
  5. In Topic: Task: Loading a texture using Texture2D.FromFile() in XNA 4.0

    Posted 12 Jun 2013

    Okay, I believe the reason may be due to the screen not refreshing, but I really can't remember, and it'll be hard with me not being able to see all you code (Please don't show all your code, there will be too much).
    So, what I'd advise is you get this code below, and stick it in as many different places and you think relevant in "Form1.cs"
    tileDisplay1.Refresh(); // I don't know if yours is called tileDisplay1, but that's what mine was called.
    
    


    Hopefully that is the reason, but I really can't be sure.

    I was actually planning on recreating the tutorial series myself, but I doubt I'll have time for that aha.

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Programming Languages:
C#, C++, Java

Contact Information

E-mail:
Click here to e-mail me

Friends

Comments

Page 1 of 1
  1. Photo

    Shinobi411 Icon

    23 Feb 2013 - 19:52
    Hey, I just saw your post about looking for a project. I might have just the thing but are you looking to deal with strictly xna? My team and I are currently working between Unity and Indielib. If you'd like some more information feel free to email us at Ondayo.Studios@me.com That way we will be able to discuss in further detail if you are up to helping us out. We would greatly appreciate ...
Page 1 of 1