Monday, November 08, 2010 at 12:04 AM.


	<<Mon, 01 Mar 1999 13:13:46 GMT by AR
		<<This code was used all over the place.
on dateToPathArgs (d) {
	local (day, month, year, hour, minute, second);
	date.get (d, @day, @month, @year, @hour, @minute, @second);
	year = string (year);
	month = string.padwithzeros (month, 2);
	day = string.padwithzeros (day, 2);
	return (year + '/' + month + '/' + day)}
<<bundle //test code
	<<dialog.alert (dateToPathArgs ( ()))

This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.