Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tuning 12/10/02 into December 10, 2002

Status
Not open for further replies.

jfrost10

Programmer
Jun 3, 2001
2,004
CA
Ok, so I can do the 10, and the 2002 no problem, but does anyone know if there's a built in function with .NET that will take a date and return it with a spelled out month, the day, a comma, and the year?

Alternately, I know I could just make some global sub that has a hardcoded list of months to draw from, but i'm hoping there's something that would only take a line or two of code to actually do.

Thanks,

D'Arcy
 
jfrost10,

lblMessage.Text = Now.ToLongDateString.ToString

will return

Friday, December 13, 2002
regards,
Brian
 
D! Whats going on here man. Your losing your touch!
j/k I know I have had many stupid days lately That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
I know, I know...

I was only 4 stars away from tying paul for top forum expert, and now he's up 10 on me (heh, I did really bad in my fantasy football league this year, I need to stay competitive in SOMETHING).

Been working on some really ghey things at work too (xml to pdf generation mostly). I'm so glad I have vacation days coming up after next week!

D
 
I just finished Ver 1 of "Marks Checkers of Doom"
Well just checkers actually. My next step is to convert it into using DirectX instead of GDI.

Kind of some neat stuff.

At work I just finished learning how to send back the exceptions I wanted using the SOAP Exception type and XML nodes. Loads of fun haha That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
Hey sweet! I'd love to do a game...ANY game!

So what makes your version of checkers the Doom version?

Soap exception types eh?

Are those only beneficial if you're utilizing code on a web service somewhere, or if the code is running on the main webserver and part of the same project (sigh...I'll be glad when this portal thing is done...hopefully get into more of the interesting stuff instead of the mundane)

D
 
Yeah the only time you would want to make use of a SOAP exception is when utilizing webservices. Otherwise it is simply extra overhead that is unnecessary. And if using web services it is the only way to pass an exception.

What makes my checkers the Doom version? I wanted a name that instilled fear into the players. Really nothing, at the moment it is quite simple. Hopefully I can make it much more complex in the future. Animated killings and such. And still I dream That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
You could put in footage of this years Grey Cup game.

There was quite a bit of killing that went on there.
:p

D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top