<%@ Page Language="VB" %>
<script runat="server">

    ' Insert page code here
    '
    
    
    Sub Calendar1_SelectionChanged(sender As Object, e As EventArgs)
    Label1.Text = Calendar1.SelectedDate.ToLongDateString()
    End Sub

</script>
<html>
<head>
</head>
<body>
    <form runat="server">
        <p>
            <asp:Label id="Label1" runat="server">Datum</asp:Label>
        </p>
        <p>
            &nbsp;
        </p>
        <p>
            <asp:Calendar id="Calendar1" runat="server" OnSelectionChanged="Calendar1_SelectionChanged"></asp:Calendar>
        </p>
        <!-- Insert content here -->
    </form>
</body>
</html>
