Re: datetime help from usa to iso
- From: rodchar <rodchar@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 4 Dec 2008 12:26:05 -0800
why do i do that!!
thanks for the help everyone,
i appreciate it.
thanks,
rod.
"Göran Andersson" wrote:
rodchar wrote:.
ok, that worked,
however,
once i got it into:
varDate.ToString("yyyy/MM/dd")
i did this:
varDate.ToString("yyyy/MM/dd").SubString(5,2)
to extract the month. was that the best way?
No, that's not the best way. You can for example change the formatting
string to only include the month:
varDate.ToString("MM")
--
Göran Andersson
_____
http://www.guffa.com
- References:
- datetime help from usa to iso
- From: rodchar
- Re: datetime help from usa to iso
- From: Nicholas Paldino [.NET/C# MVP]
- Re: datetime help from usa to iso
- From: rodchar
- Re: datetime help from usa to iso
- From: Göran Andersson
- datetime help from usa to iso
- Prev by Date: Re: datetime help from usa to iso
- Next by Date: Re: Export/Convert HTML report to PDF
- Previous by thread: Re: datetime help from usa to iso
- Next by thread: Re: datetime help from usa to iso
- Index(es):
Relevant Pages
|