Ver Mensaje Individual
  #4 (permalink)  
Antiguo 28/09/2010, 15:24
miguelajh
 
Fecha de Ingreso: julio-2006
Ubicación: En algún lugar de un grán pais
Mensajes: 112
Antigüedad: 17 años, 10 meses
Puntos: 2
Respuesta: Como obtener Año, Mes y dia en VB.NET?

ahh, mira, pon esto:

tu variable, supongamos que es de tipo date y se llama theDate
y tiene el valor 25/12/2005
entonces
TextBox1.Text = theDate.ToString("yyyyMMdd")