Hi all,
i am trying to use the datetime datatype in my application.
i am using a datetime picker to enter the date, and it is's format is set to custom format dd/MM/yyyy
here is the code for declairing the value
but my date is being saved into a text file asCode:Private _DateDone As DateTime Public Property DateDone As DateTime Get Return _DateDone End Get Set(value As DateTime) _DateDone = value End Set End Property 'The Passing Of The Value car.DateDone = CDate(FormatDateTime(Me.DateTimePicker1.Value, DateFormat.ShortDate))
<DateDone>2012-07-16T00:00:00</DateDone>
so how would i get the 'Private _DateDone As DateTime' to be defult as the dd/MM/yyyy format


LinkBack URL
About LinkBacks




Reply With Quote


Bookmarks