Guest User

Untitled

a guest
Dec 14th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="form.aspx.cs" Inherits="project.form" Culture="es-SP" UICulture="es-SP" %>
  2.  
  3. <asp:TextBox ID="calendar" runat="server" CssClass="form-control" placeholder="01/01/2000" TextMode="Date" ></asp:TextBox>
  4.  
  5. var culture = CultureInfo.GetCultureInfo("es-SP");
  6. var january = new DateTime(1, 1, 1).ToString("MMMM", culture); // enero
  7. var thursday = new DateTime(2017, 12, 14).ToString("dddd", culture); // jueves
Add Comment
Please, Sign In to add comment