Generate Filename or SessionID
Generate Filename with Randomstring, Date and time.
AI
Tóm tắt bởi AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Mã nguồn
function generateFileName()
dim counter
Dim TempLongID
For Counter = 1 to 10
Randomize Timer / RND
TempLongID = TempLongID & Chr((ASC("z") - ASC("a")) * RND + ASC("a"))
Next
dim temp
dim datetime
datetime = now()
temp = day(datetime) & month(datetime) & year(datetime) & hour(datetime) & minute(datetime) & second(datetime)
generateFileName = temp & TempLongID
end function
Bình luận gốc (3)
Được khôi phục từ Wayback Machine