Hi Maziar,
You can set the culture for the page to a culture that uses that format
(like Canadian English):
<%@ Page culture="en-CA" Language="vb" AutoEventWireup="false"
Codebehind="calpgculture.aspx.vb" Inherits="p4320work.calpgculture"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>calpgculture</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="
http://schemas.microsoft.com/intellisense/ie5">
</head>
<body MS_POSITIONING="FlowLayout">
<form id="Form1" method="post" runat="server">
<asp:calendar id="Calendar1" runat="server"></asp:calendar>
<p>
<asp:label id="Label1" runat="server">Label</asp:label></p>
<p> </p>
</form>
</body>
</html>
Private Sub Calendar1_SelectionChanged _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Calendar1.SelectionChanged
Label1.Text = Calendar1.SelectedDate.ToShortDateString
End Sub
Ken
Microsoft MVP [ASP.NET]
Toronto