From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let DateAdded As Date

Property description

Scripting Object SDBSongData
Value Name DateAdded
Value Type Date
Database Table Songs
Field Name DateAdded
Field Type Real
Tracklist Column Added
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)
      DateDateAdded = objSongData.DateAdded
      SDB.MessageBox "Value = '" &  DateDateAdded & "'", mtError, Array(mbOK)    'SDB.MessageBox
' objSongData.DateAdded = DateNewDateAdded 'Commented Out For Safety
' objSonglist.UpdateAll              'Commented Out For Safety                 'UpdateAll
                         Updates db and writes tags (if checked in options)
End Sub