title: Convert Array list containing Datetime to String array list
body: <p>I am new to Asp.Net and hence this question which I know might sound silly but I am really reaching no where.</p>
  
  <p>Is there a way to convert an array list that contains 'Datetime' values to an array list of strings ? I wanted to use the output as a part of a javascript function.</p>
  
  <p>Thanks for the help !</p>
  
  <p>I am using Asp.Net with VB.</p>
  
  <p><strong>Updated</strong></p>
  
  <p>Here is the snippet</p>
  
  <pre><code>Dim timeLapse As New ArrayList
  Dim timelapsehour As New ArrayList
  Dim DtTmOfInf As DateTime
  DtTmOfInf = DateTime.Parse(temp)
  .
  .
  .
  For i = 0 To timeLapse.Count - 1
  timelapsehour.Add(DtTmOfInf.AddHours(timeLapse(i)))
    Next
  </code></pre>
  
  <p>Here the 'DtTmOfInf' stores the value of 'temp' which is a string in datetime format and the timelapsehour is that array list that stores the required date and time values.</p>