7/05/2011

VB.net Format Date กำหนดรูปแบบวันที่ให้แสดงใน datetimepicker

CustomForma Fromat Date 
 
Public Sub SetMyCustomFormat()
    ' Set the Format type and the CustomFormat string.
    dateTimePicker1.Format = DateTimePickerFormat.Custom
    dateTimePicker1.CustomFormat = "MMMM dd, yyyy - dddd"
End Sub 'SetMyCustomFormat
 
 

No comments:

Post a Comment