![]() |
|
|
|
#1 |
|
how to get the
day if 1-9 then 01-09 else 11-31 month if 1-9 then 01-09 else 10-12 year 01-99 =?Utf-8?B?am9l?= |
|
|
|
|
#2 |
|
Posts: n/a
|
Response.Write (DateTime.Now.ToString("MM"));
Response.Write (DateTime.Now.ToString("yy")); Response.Write (DateTime.Now.ToString("dd")); -- HTH, Phillip Williams http://www.societopia.net http://www.webswapp.com "joe" wrote: > how to get the > day if 1-9 then 01-09 else 11-31 > month if 1-9 then 01-09 else 10-12 > year 01-99 =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?= |
|
|
|
#3 |
|
Posts: n/a
|
E.g with string formatting. More information about it:
Formatting Types http://msdn2.microsoft.com/en-us/lib...9x(VS.80).aspx -- Teemu Keiski ASP.NET MVP, AspInsider Finland, EU http://blogs.aspadvice.com/joteke "Phillip Williams" <> wrote in message news:68503DBA-E47C-4330-9C73-... > Response.Write (DateTime.Now.ToString("MM")); > Response.Write (DateTime.Now.ToString("yy")); > Response.Write (DateTime.Now.ToString("dd")); > -- > HTH, > Phillip Williams > http://www.societopia.net > http://www.webswapp.com > > > "joe" wrote: > >> how to get the >> day if 1-9 then 01-09 else 11-31 >> month if 1-9 then 01-09 else 10-12 >> year 01-99 Teemu Keiski |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Blockbuster Online One Month FREE coupon code: 1769ta | Jaya | DVD Video | 0 | 01-03-2007 04:22 PM |
| displaying only current month dates asp.net calendar control | prasanthamohan | Software | 0 | 07-18-2006 07:43 AM |
| As growth slows, Hollywood faces a DVD standoff. | Allan | DVD Video | 0 | 07-11-2005 02:10 PM |
| Blockbuster Online: Now $14.99 a month. | One-Shot Scot | DVD Video | 0 | 12-29-2004 04:01 PM |
| DVD Verdict reviews: LAW AND ORDER: SPECIAL VICTIMS UNIT: THE FIFTH YEAR and more! | DVD Verdict | DVD Video | 0 | 11-03-2004 10:12 AM |