AUDIO LECTURE CREATION DATE TIMESTAMPS ARE MINE

YEAR, MONTH, DAY, HOURS, MINUTES = 0, 1, 2, 3, 4

def getTimestamp(file_name)
lec = File.new(file_name, “rb”) #
lec.seek(60, IO::SEEK_CUR)
timestamp = lec.read(5)
end

timestamp = getTimestamp(“./DW_A0128.wav”)
puts “#{timestamp[MONTH]}/#{timestamp[DAY]}/#{timestamp[YEAR]+2000},\
#{timestamp[HOURS]}:#{timestamp[MINUTES]}”

1/26/2009, 8:57

No more having to deal with this voice recorder’s crappy program. >(

fsdgfdgh