title: Compile date and time
body: <p>Is there some clever way of getting the date and time of when the dll was built/compiled?</p>
  
  <p>I’m using the assembly version numbering and reflection to retrieve and display this info when the app is deployed. But in some scenarios it would be more convenient to know <em>when</em> then dll was actually compiled rather than the auto incrementing version number. I don’t think the modified date on the dll file itself is reliable due to the way the app is deployed.</p>
  
  <pre><code>Dim assemblies = AppDomain.CurrentDomain.GetAssemblies
  Dim assemblyName As String
  Dim assemblyVersion As String
  
  For Each assembly In assemblies
    assemblyName = assembly.GetName.Name.ToString
    assemblyVersion = assembly.GetName.Version.ToString
    ' How to get the date/time of the build??
    ' ...
  Next
  </code></pre>
  
  <p>Any suggestions?</p>