Advertisement
Java_Volume1 Windows System Services #101847

Generate Filename or SessionID

Generate Filename with Randomstring, Date and time.

AI

สรุปโดย 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.

ซอร์สโค้ด
original-source
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
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine