Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/03/2010, 09:10
Ka0stj
 
Fecha de Ingreso: febrero-2010
Ubicación: México
Mensajes: 738
Antigüedad: 14 años, 1 mes
Puntos: 37
Respuesta: Dar formato a Datetime

Hola dapohp

Prueba con lo siguiente:

Código c#:
Ver original
  1. this.txtBox.Text = DateTime.Now.ToString("d");

Esto te regresa : dd/mm/yyyy.

Comentas si te sirve. Saludos...