title: WP7 - Formatting DateTime. How?
body: <p>I was wondering if there is a way to format datetime to the way i want it. So basically my scenarios is that when my app gets a file from the isolated storage it shows the date as "Hours:Minutes". I want it so that when the app gets the date it shows as "Hours:Date" but after a day it shows it as "Day/Month" how can i do this?</p>
  
  <p>Soo far this is what i got:</p>
  
  <pre><code>Dim Storage As IsolatedStorageFile = IsolatedStorageFile.GetUserStoreForApplication()
          Dim directory As String = "./MyNote/SavedNotes/*.*"
          Dim filenames As String() = Storage.GetFileNames(directory)
          Dim dataSource As New List(Of SampleData)()
          For Each filename As String In filenames
              Dim ISF As IsolatedStorageFile = IsolatedStorageFile.GetUserStoreForApplication()
              Dim FS As IsolatedStorageFileStream = ISF.OpenFile("MyNote/SavedNotes/" &amp; filename, FileMode.Open, FileAccess.Read)
              Using SR As New StreamReader(FS)
                  Dim FTime As String = Storage.GetCreationTime("MyNote/SavedNotes/" &amp; filename).ToString("d/M ddd")
                  Dim DATESS As String = SR.ReadLine
                  Dim ReadName As String = SR.ReadLine
                  dataSource.Add(New SampleData() With {.FileNameX = filename, .Description = ReadName, .FileTime = FTime})
              End Using
              SavedNotesList.ItemsSource = dataSource
          Next
  </code></pre>
  
  <p>More or less like the native messaging app. The date formats depending on when the message was received. </p>