Dear friend,
I have used your code what u suggested but the problem is i am using
Session.LCID = 2057 means dd/mm/yyyy HH:MM:SS and if i use this
Dim avDt as string = "txtAvdate.text"
Dim dt as datetime = convert.todatetime(avDt)
Response.write(dt.toLongDateString)
The result is 08 August 2004 08:30 means not showing the DAY.
Please help me..Thanks in advance
Khan
----- Original Message -----
From: zazo_zazo70
To: [EMAIL PROTECTED]
Sent: Sunday, August 08, 2004 14:10
Subject: [AspNetAnyQuestionIsOk] Re: Date Format
check this sample code
string x = "07/08/2004 14:41:23" ;
DateTime dt = Convert.ToDateTime(x);
Response.Write(dt.ToLongDateString());
hth
Best Regards
--- In [EMAIL PROTECTED], "Parvez" <[EMAIL PROTECTED]>
wrote:
> Hi All,
>
> I have a textbox in which i have taken 07/08/2004 14:41:23 date
format , now i want to display and store the same format in the
database, but at the same time i'm also mailing some data to the user
and user requested me to send a different date format
>
> [Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
b.. To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/