oyyou's Profile
Reputation: 15
Tradesman
- Group:
- Active Members
- Active Posts:
- 116 (0.1 per day)
- Joined:
- 26-April 10
- Profile Views:
- 2,676
- Last Active:
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
Posts I've Made
-
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; } -
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. -
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. -
In Topic: Custom Shaped Windows
Posted 12 Jun 2013
-
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
|
|


Find Topics
Find Posts
View Reputation Given


|
Comments
Shinobi411
23 Feb 2013 - 19:52