From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Date As Date

Property description

Apparently returns the date&time at the moment that you call; that is, returns Now. The value is not a property of the track.

(Ignore the "complete script" below, which is generated by some wiki macro that's too obscure to debug.)

Scripting Object SDBSongData
Value Name Date
Value Type Date
Example Data 2/04/2008 4:36 PM

Example Code

Complete script


  For iCounter = 0 to objSongList.count - 1                                    'SongLists
      Set objSongData = objSongList.Item(iCounter)
      DateDate = objSongData.Date
      SDB.MessageBox "Value = '" &  DateDate & "'", mtError, Array(mbOK)    'SDB.MessageBox
' objSongData.Date = DateNewDate 'Commented Out For Safety
' objSonglist.UpdateAll              'Commented Out For Safety                 'UpdateAll
                         Updates db and writes tags (if checked in options)
End Sub