Class: Time

Inherits:
Object show all
Defined in:
lib/basic/basic.rb

Class Method Summary collapse

Class Method Details

.stampObject


217
218
219
220
# File 'lib/basic/basic.rb', line 217

def Time.stamp
	n = Time.now
	"%d%02d%02d-%02d%02d%02d" % [n.year, n.month, n.day, n.hour, n.min, n.sec]
end